Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-10-11 | Add crypto into the required applications | Loïc Hoguin | |
As suggested by @prof3ta. | |||
2012-09-21 | Don't use decode_packet/3 for parsing the headers | Loïc Hoguin | |
Header names are now binaries. Since header names are case insensitive they are all converted to lowercase. For example: <<"content-length">>. The max_line_length option was removed. Three new options have been added instead: * max_request_line_length (defaults to 4096) * max_header_name_length (defaults to 64) * max_header_value_length (defaults to 4096) | |||
2012-09-17 | Improve consistency of return types for cowboy_req API | Loïc Hoguin | |
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-15 | Introduce cowboy_req:set_meta/3 to set request metadata | Loïc Hoguin | |
2012-09-15 | Remove duplicate code for ensure_response | Loïc Hoguin | |
2012-09-15 | Add cowboy_req:url/1 to return the full request URL | Loïc Hoguin | |
Use it in cowboy_websocket for hixie76, replacing http by ws. | |||
2012-09-15 | Avoid a duplicate HTTP reply in cowboy_websocket:upgrade_error/1 | Loïc Hoguin | |
Do this by checking whether we received the resp_sent message. | |||
2012-09-15 | Put socket and transport into cowboy_websocket's #state{} | Loïc Hoguin | |
As part of the work to make cowboy_req:req() opaque. | |||
2012-09-15 | Add a cowboy_req:to_list/1 function | Loïc Hoguin | |
Removes a lot of duplicate code when printing error messages. | |||
2012-09-15 | Remove two unneeded Req modifications | Loïc Hoguin | |
2012-09-15 | Change type #http_req{} to cowboy_req:req() | Loïc Hoguin | |
This removes cowboy_static's dependency on http.hrl. | |||
2012-09-10 | Replace cowboy_req:path/1 with cowboy_req:raw_path/1 | Loïc Hoguin | |
The latter is much more useful than the former, which ends up being removed. | |||
2012-09-10 | Replace cowboy_req:host/1 with cowboy_req:raw_host/1 | Loïc Hoguin | |
The latter is much more useful than the former, which ends up being removed. | |||
2012-08-27 | Rename cowboy_http_websocket to cowboy_websocket | Loïc Hoguin | |