Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-09-15 | Put the method in cowboy_rest's #state{} | Loïc Hoguin | |
2012-09-15 | Introduce cowboy_req:set_meta/3 to set request metadata | Loïc Hoguin | |
2012-09-15 | Use skip_body directly between requests | Loïc Hoguin | |
There's no need for more complex logic now that we have the API for it. | |||
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-15 | Separate multipart from body_state | Loïc Hoguin | |
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 | Introduce a cowboy_req:req/0 type | Loïc Hoguin | |
Cleanup the typespecs of the cowboy_req module following this. | |||
2012-08-27 | Rename cowboy_http_websocket to cowboy_websocket | Loïc Hoguin | |
2012-08-27 | Rename cowboy_http_static to cowboy_static | Loïc Hoguin | |
2012-08-27 | Rename cowboy_http_rest to cowboy_rest | Loïc Hoguin | |
2012-08-27 | Rename cowboy_http_req to cowboy_req | Loïc Hoguin | |
2012-08-27 | Rename cowboy_http_protocol to cowboy_protocol | Loïc Hoguin | |
2012-08-27 | Update behaviours for R15B+ | Loïc Hoguin | |
This effectively drops the R14B compatibility. The cowboy_req:req() type will be introduced in a future commit. It refers to the #http_req{} record. | |||
2012-08-27 | Change a websocket error from {error, protocol} to {error, badframe} | Loïc Hoguin | |
For improved consistency. | |||
2012-08-27 | Have only one -export and -export_type per line | Loïc Hoguin | |
This should make easier spotting additions and removals in commits. | |||
2012-08-27 | Switch to Ranch for connection handling | Loïc Hoguin | |
This is the first of many API incompatible changes. You have been warned. | |||
2012-08-08 | Update version to 0.6.10.6.1 | Loïc Hoguin | |
2012-07-31 | Fix stream_body when used by multipart | Seven Du | |
2012-07-24 | Improve typespecs | Loïc Hoguin | |
2012-07-24 | Don't save parsed value in the Host header | Josh Marchán | |
2012-07-22 | Remove an useless todo | Loïc Hoguin | |
2012-07-22 | Look for parsed headers in the cache before trying to parse | Loïc Hoguin | |
2012-07-22 | Add support for Expect: 100-continue | Loïc Hoguin | |
This makes uploading files with curl a lot faster than without. | |||
2012-07-21 | REST: Normalize content types accepted | Loïc Hoguin | |
Same as content types provided, we accept the <<"application/json">> form. | |||
2012-07-21 | REST: Fix charset matching | Loïc Hoguin | |
2012-05-23 | Update version to 0.6.00.6.0 | Loïc Hoguin | |
Also update the CHANGELOG and copyright years. | |||
2012-05-21 | Merge branch 'cookie_slash' of https://github.com/bfrog/cowboy | Loïc Hoguin | |
2012-05-21 | Merge branch 'serve-static-file' of https://github.com/klaar/cowboy | Loïc Hoguin | |
Fix alphabetical order since @klaar seems to have issues with it. ;) | |||
2012-05-21 | Merge branch 'fix/relax-conneg-parsing' of https://github.com/tillitech/cowboy | Loïc Hoguin | |
2012-05-21 | Fix a bug preventing 'onresponse' from being called on errors | Loïc Hoguin | |
2012-05-21 | Make multipart code use stream_body | Loïc Hoguin | |
2012-05-21 | Small updates to the ROADMAP and doc comments | Loïc Hoguin | |
2012-05-14 | Only ignore slashes in cookie values for the path | Tom Burdick | |
* Ensures cookie encoding errors are caught earlier * Fix separator misspelling | |||
2012-05-06 | Add new HTTP status codes from RFC 6585 | Anthony Ramine | |
See http://tools.ietf.org/html/rfc6585 for further details. | |||
2012-05-05 | Merge branch 'patch-1' of https://github.com/yrashk/cowboy | Loïc Hoguin | |
2012-05-05 | Add a test for empty path segments | Loïc Hoguin | |
2012-05-04 | Fixes invalid type specification for cowboy_http_req:multipart_data/1 | Yurii Rashkovskii | |
2012-05-04 | Add a note about crypto websocket usage in the doc comments | Loïc Hoguin | |
2012-05-04 | Merge branch 'response-hook' | Loïc Hoguin | |
2012-05-04 | Add an 'onresponse' hook | Loïc Hoguin | |
This new protocol option is a fun. It expects 3 args: the Status code used in the reply (this is the cowboy_http:status() type, it can be an integer or a binary), the headers that will be sent in the reply, and the Req. It should only return a possibly modified Req. This can be used for many things like error logging or custom error pages. If a reply is sent inside the hook, then Cowboy will discard the reply initially sent. Extra caution must be used in the handlers making use of inline chunked replies as they will throw an error. This fun cannot be used as a filter, you can either observe the reply sent or discard it to send a different one instead. The hook will not be called for replies sent from inside the hook. | |||
2012-05-04 | Merge branch 'cancel-timer' of https://github.com/etrepum/cowboy | Loïc Hoguin | |
2012-05-01 | Refactor the reply functions | Loïc Hoguin | |
2012-04-30 | Add file option to cowboy_http_static | Magnus Klaar | |