Loïc Hoguin
|
9ef94fb64e
|
Introduce cowboy_req:set_meta/3 to set request metadata
|
2012-09-15 22:51:37 +02:00 |
|
Loïc Hoguin
|
0aaa717575
|
Remove duplicate code for ensure_response
|
2012-09-15 22:19:39 +02:00 |
|
Loïc Hoguin
|
27d591180c
|
Add cowboy_req:url/1 to return the full request URL
Use it in cowboy_websocket for hixie76, replacing http by ws.
|
2012-09-15 22:03:00 +02:00 |
|
Loïc Hoguin
|
cd54214def
|
Avoid a duplicate HTTP reply in cowboy_websocket:upgrade_error/1
Do this by checking whether we received the resp_sent message.
|
2012-09-15 21:18:53 +02:00 |
|
Loïc Hoguin
|
35ebe0b108
|
Put socket and transport into cowboy_websocket's #state{}
As part of the work to make cowboy_req:req() opaque.
|
2012-09-15 21:09:12 +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
|
9b5cbb5000
|
Remove two unneeded Req modifications
|
2012-09-15 12:56:45 +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
|
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 |
|