2edc861a06
Release v0.3.0
2017-09-19 15:47:44 +02:00
8a5c956a24
Implement form-urlencoded support
...
Query and form return a Hash, folding duplicates with last-key-wins
strategy. *_array methods provide the seldom-used duplicate-preserving
counterparts.
Keep query and form separate, but provide params, which handles
both, with form having precedence over query.
2017-09-19 15:46:42 +02:00
66a2a20663
Implement request host, path and content_type access
2017-09-19 15:37:27 +02:00
dd5001cb7c
Implement request body and normalized headers access
2017-09-19 15:35:55 +02:00
dc8739c692
Normalize request method verb
2017-09-19 15:34:02 +02:00
8f20ccdd60
Release v0.2.0
2017-09-19 14:12:00 +02:00
ea6406f4b8
Compute response's Content-Length once
2017-09-19 14:10:14 +02:00
88d0824dc8
Handle request body according to Content-Length
2017-09-19 14:06:07 +02:00
f3aebdcf0f
Normalize header keys to lowercase
2017-09-19 14:02:57 +02:00
5c1717d8ee
Privatise parse methods
2017-09-19 14:01:00 +02:00
df5525854e
Factor end of headers processing in
2017-09-19 13:59:45 +02:00
803d910a3e
Accumulate in buffer only for debug output
2017-09-19 13:57:34 +02:00
c3a69ac1ed
Return after assign in guard clause
2017-09-19 13:57:01 +02:00
f70c28abd9
Allow overridable logger
2017-09-19 13:49:28 +02:00
324a052913
Silence double log on client disconnect
2017-09-19 13:49:16 +02:00
53988be5ee
Close listening socket outside of start
2017-09-19 13:48:45 +02:00
eea9588742
Accept lowercase headers
2017-09-19 13:47:44 +02:00
e5a05299b1
Initial commit
2017-09-18 16:11:42 +02:00