Commit Graph

1508 Commits

Author SHA1 Message Date
Kazu Yamamoto
3d9cda9b81 Exporting Date. 2013-11-05 21:05:17 +09:00
Kazu Yamamoto
74a9a07ad1 stopping exporting defaultIndexRequestHeader. 2013-11-05 20:57:42 +09:00
Kazu Yamamoto
41c0721b37 refactoring with hlint. 2013-11-05 15:50:26 +09:00
Kazu Yamamoto
ea47650fcf adding Date in sendResponse.
This is big refactoring. All tests are passed.
But we need to pay attentions.
2013-11-05 14:46:08 +09:00
Kazu Yamamoto
c74241ad6c adding responseHeaders to WAI. 2013-11-05 14:45:43 +09:00
Kazu Yamamoto
3198682e8c implemanting Date. 2013-11-05 14:45:08 +09:00
Michael Snoyman
d5653eaeaf Version bump 2013-11-05 06:42:38 +02:00
Kazu Yamamoto
71e6bd27c7 refactoring sendResponse. 2013-11-05 12:04:41 +09:00
Kazu Yamamoto
a0da0cb110 removing unnecessary liftIO. 2013-11-05 11:52:37 +09:00
Kazu Yamamoto
15c6ea5382 adopting simplified parseRequestLine based on #193. 2013-11-05 09:52:54 +09:00
Kazu Yamamoto
07fe172376 adding pure version to bench/Parser.hs. 2013-11-05 09:34:41 +09:00
Kazu Yamamoto
0a77bdb9f7 don't use newForeignPtr_. 2013-11-05 06:32:41 +09:00
Kazu Yamamoto
7edd143fe7 implementing pointer version oof parseRequest. 2013-11-05 06:32:41 +09:00
Kazu Yamamoto
9965d7e924 adding doctests. 2013-11-05 06:32:41 +09:00
Kazu Yamamoto
cccf4eec49 adding benchmark. 2013-11-05 06:32:40 +09:00
Kazu Yamamoto
43f62263c0 removing Lifted. 2013-11-05 06:32:40 +09:00
Kazu Yamamoto
34a82a6ca7 proper signature. 2013-11-05 06:32:40 +09:00
Kazu Yamamoto
949809062b Simpler parsetRequestLine.
This improves the performace by not taking care of spacial cases:
tab charactors and separated HTTP versions.
2013-11-05 06:32:40 +09:00
Michael Snoyman
fb6bf738d3 Move CPP logic into separate module for #192 2013-11-04 11:06:32 +02:00
Kazu Yamamoto
b403c0fa0a parsePath ensures non-empty in case of absolute-path. 2013-11-04 09:27:49 +09:00
Kazu Yamamoto
caeb8d950c doc update. 2013-11-04 06:57:23 +09:00
Kazu Yamamoto
54f01c3a6a export requestHeaderHost. 2013-11-03 20:28:55 +09:00
Kazu Yamamoto
6854197dfb adding requestHeaderHost. (#190). 2013-11-03 20:17:28 +09:00
Kazu Yamamoto
b1338c20dd adding requestHeaderHost to Request. (#190) 2013-11-03 20:14:16 +09:00
Kazu Yamamoto
808317cbd2 adding a missing file. 2013-11-01 16:11:12 +09:00
Kazu Yamamoto
c8da01af35 adding doctests. 2013-11-01 14:47:12 +09:00
Kazu Yamamoto
8583c33ce5 adding doctests. 2013-11-01 13:51:23 +09:00
Kazu Yamamoto
9e5f743761 adding doctests. 2013-11-01 13:49:40 +09:00
Kazu Yamamoto
e087d4349a proper name. 2013-11-01 13:43:16 +09:00
Kazu Yamamoto
9859251d47 adding doctests. 2013-11-01 13:41:43 +09:00
Kazu Yamamoto
839a757904 adding doctests. 2013-11-01 13:39:05 +09:00
Kazu Yamamoto
c8a8f8c023 Paths_warp is included only in Response.hs. 2013-11-01 13:21:51 +09:00
Kazu Yamamoto
b376316eb8 using proper name according to RFC. 2013-11-01 13:04:03 +09:00
Kazu Yamamoto
0745a49ea5 proper name. 2013-11-01 10:30:12 +09:00
Kazu Yamamoto
664fc90ed5 reordering doc. 2013-11-01 09:35:00 +09:00
Kazu Yamamoto
8d86621daf reordering functions. 2013-11-01 09:30:33 +09:00
Kazu Yamamoto
a8ec10d43a small refactoring. 2013-11-01 09:29:10 +09:00
Kazu Yamamoto
df4d555120 doc update. 2013-11-01 09:28:20 +09:00
Kazu Yamamoto
b63c08b30b doc update. 2013-11-01 09:24:58 +09:00
Kazu Yamamoto
fcc2822598 doc update. 2013-11-01 09:22:28 +09:00
Kazu Yamamoto
34a42f7ce6 doc update. 2013-11-01 09:08:09 +09:00
Kazu Yamamoto
6dec773eae doc update. 2013-10-31 20:52:28 +09:00
Kazu Yamamoto
70ad779a65 adding comment. 2013-10-31 20:36:30 +09:00
Kazu Yamamoto
28e8274eac removing idxContentRange. 2013-10-31 16:06:44 +09:00
Kazu Yamamoto
7de30e6946 updating doc. 2013-10-31 15:45:19 +09:00
Kazu Yamamoto
0869e8261a adding comment. 2013-10-31 15:03:32 +09:00
Kazu Yamamoto
cc42b43eb0 Simplifying fileRange and adding many test cases. 2013-10-31 14:59:24 +09:00
Kazu Yamamoto
103ff21a99 doc update. 2013-10-31 11:14:46 +09:00
Kazu Yamamoto
8c708672c2 checking also Content-Range in tests. 2013-10-31 11:08:22 +09:00
Kazu Yamamoto
56872f52b8 PartialFileSpec.hs -> ResponseSpec.hs
Following the common practice.
If a target file name is <file>, its spec file should be <fileSpec>.
2013-10-31 10:57:18 +09:00