Loïc Hoguin
|
c1f5a2acb2
|
Use cowboy_req:version/1 in cowboy_protocol where applicable
More cleanup towards making cowboy_req:req() opaque.
|
2012-09-17 13:57:28 +02:00 |
|
Loïc Hoguin
|
f205d44518
|
Add a function to lock request responses instead of inlining
Just more cleanup in order to have req() opaque.
|
2012-09-17 13:57:28 +02:00 |
|
Loïc Hoguin
|
8d5f8db90a
|
Improve consistency of return types for cowboy_req API
The signature of parse_header, body_qs, multipart_data and
the set_resp_* functions has changed.
See the cowboy_req module edoc for more details.
|
2012-09-17 13:56:58 +02:00 |
|
Loïc Hoguin
|
f65f7d19a8
|
Use skip_body directly between requests
There's no need for more complex logic now that we have
the API for it.
|
2012-09-15 22:24:59 +02:00 |
|
Loïc Hoguin
|
0aaa717575
|
Remove duplicate code for ensure_response
|
2012-09-15 22:19:39 +02:00 |
|
Loïc Hoguin
|
bb4bd9ac96
|
Add a cowboy_req:to_list/1 function
Removes a lot of duplicate code when printing error messages.
|
2012-09-15 20:33:57 +02:00 |
|
Loïc Hoguin
|
d9e76d59a1
|
Change type #http_req{} to cowboy_req:req()
This removes cowboy_static's dependency on http.hrl.
|
2012-09-15 01:31:51 +02:00 |
|
Loïc Hoguin
|
4040a9f72d
|
Separate multipart from body_state
|
2012-09-15 00:59:49 +02:00 |
|
Loïc Hoguin
|
79839b7bb5
|
Replace cowboy_req:path/1 with cowboy_req:raw_path/1
The latter is much more useful than the former, which ends up
being removed.
|
2012-09-10 12:26:04 +02:00 |
|
Loïc Hoguin
|
6fa734b487
|
Replace cowboy_req:host/1 with cowboy_req:raw_host/1
The latter is much more useful than the former, which ends up
being removed.
|
2012-09-10 12:25:57 +02:00 |
|
Loïc Hoguin
|
0e3adf1fee
|
Rename cowboy_http_websocket to cowboy_websocket
|
2012-08-27 14:00:28 +02:00 |
|
Loïc Hoguin
|
d3dcaf109b
|
Rename cowboy_http_req to cowboy_req
|
2012-08-27 13:28:57 +02:00 |
|
Loïc Hoguin
|
9e2622becb
|
Rename cowboy_http_protocol to cowboy_protocol
|
2012-08-27 12:58:04 +02:00 |
|
Loïc Hoguin
|
e4124de2c7
|
Switch to Ranch for connection handling
This is the first of many API incompatible changes.
You have been warned.
|
2012-08-27 11:50:35 +02:00 |
|
Loïc Hoguin
|
0c2e2224e3
|
Update version to 0.6.0
Also update the CHANGELOG and copyright years.
|
2012-05-23 14:53:48 +02:00 |
|
Loïc Hoguin
|
e550ba7cd3
|
Add cowboy:accept_ack/1 for a cleaner handling of the shoot message
|
2011-12-15 20:19:02 +01:00 |
|
Loïc Hoguin
|
76f855ebd0
|
Merge branch 'master' of https://github.com/hakvroot/cowboy
|
2011-10-01 02:10:10 +02:00 |
|
Michiel Hakvoort
|
d8e841c8a2
|
Add cowboy_protocol behaviour
|
2011-09-30 08:49:58 +02:00 |
|