Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-09-17 | Make cowboy_req:req() opaque | Loïc Hoguin | |
Remove http.hrl in the process. If you feel furious about this change after reaching this commit, don't worry! You probably just need a few access or modification functions to be added in cowboy_req for your needs. Problem is, I don't know these. I'll be very thankful if you can open a ticket and tell me all about it so the best solution can be swiftly implemented to make you happy again. | |||
2012-09-17 | Add the private get_connection/1 function used by cowboy_protocol | Loïc Hoguin | |
This removes cowboy_protocol's dependency on http.hrl! | |||
2012-09-17 | Add the private get_buffer/1 function used by cowboy_protocol | Loïc Hoguin | |
2012-09-17 | Add the private get_resp_state/1 function used by cowboy_protocol | Loïc Hoguin | |
2012-09-17 | Add the private set_bindings/4 function used by cowboy_protocol | Loïc Hoguin | |
2012-09-17 | Add the private set_buffer/2 function used by cowboy_protocol | Loïc Hoguin | |
2012-09-17 | Add the private add_header/3 function used by cowboy_protocol | Loïc Hoguin | |
2012-09-17 | Add the private set_connection/2 function used by cowboy_protocol | Loïc Hoguin | |
2012-09-17 | Add the private function set_host/4 used by cowboy_protocol | Loïc Hoguin | |
2012-09-17 | Add a private cowboy_req function to create a Req object | Loïc Hoguin | |
Private means you must not used it. It's meant for internal use. | |||
2012-09-17 | Use cowboy_req:version/1 in cowboy_protocol where applicable | Loïc Hoguin | |
More cleanup towards making cowboy_req:req() opaque. | |||
2012-09-17 | Remove http.hrl dependency in cowboy_rest | Loïc Hoguin | |
Only cowboy_protocol remaining now. | |||
2012-09-17 | Add a function to lock request responses instead of inlining | Loïc Hoguin | |
Just more cleanup in order to have req() opaque. | |||
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-16 | Add cowboy_req:delete_resp_header/2 | Loïc Hoguin | |
Both requested and better for making Req opaque. | |||
2012-09-16 | Introduce cowboy_req:host_url/1 to remove more duplicate code | Loïc Hoguin | |
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 | |