Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-04-11 | First draft of the REST chapter in the guide | Loïc Hoguin | |
2013-04-11 | Don't accept TRACE or CONNECT methods by default in REST | Loïc Hoguin | |
For the simple reason that the REST code does nothing about them. | |||
2013-04-11 | Remove process_post, post_is_create, create_path, created_path callbacks | Loïc Hoguin | |
Instead it will always go through content_types_accepted and it is up to the resource code to do any creation and to return the created path if the method is POST and the client should be redirected to the created resource's location. This removes the meta value 'put_path' as it is not needed anymore. This fixes an issue with PATCH where content types were not normalized. | |||
2013-04-11 | Remove cowboy_req:peer_addr/1 | Loïc Hoguin | |
This kind of function is highly dependent on the proxy used, therefore parsing was added for x-forwarded-for instead and we just let users write the function that works for them. The code can be easily extracted if anyone was using the function. | |||
2013-04-11 | Parse the x-forwarded-for header as a list of tokens | Loïc Hoguin | |
2013-04-11 | Shorten the parse_header clauses | Loïc Hoguin | |
2013-04-11 | No need for fully qualified call to the same module | Loïc Hoguin | |
2013-04-09 | Switch the arguments to cowboy_req:stream_body/2 | Loïc Hoguin | |
Make them consistent with the rest of the module. | |||
2013-04-03 | Update to 0.8.30.8.3 | Loïc Hoguin | |
2013-04-03 | Update CHANGELOG | Loïc Hoguin | |
2013-04-03 | Update Ranch to 0.8.0 | Loïc Hoguin | |
2013-04-02 | Replace init_stream/5 with stream_body/2 | Loïc Hoguin | |
This allows us to change the max chunk length on a per chunk basis instead of for the whole stream. It's also much easier to use this way even if we don't want to change the chunk size. | |||
2013-03-22 | Add a guide section for resource links | Loïc Hoguin | |
2013-03-09 | Update to 0.8.20.8.2 | Loïc Hoguin | |
2013-03-09 | Update CHANGELOG | Loïc Hoguin | |
2013-03-09 | Update AUTHORS | Loïc Hoguin | |
2013-03-06 | Update Ranch to 0.6.2 | Loïc Hoguin | |
2013-03-06 | Merge branch 'check-body-length' of git://github.com/rambocoder/cowboy | Loïc Hoguin | |
2013-03-06 | Stop using binary:match in cowboy_protocol | Loïc Hoguin | |
It's been found slower than a custom equivalent to what we were using it for. As this is the critical path we prefer the custom solution. | |||
2013-03-06 | Check the length before reading the body in body/1 and body_qs/1 | rambocoder | |
2013-03-05 | Make streamed chunk size configurable | Loïc Hoguin | |
Defaults to a maximum of 1000000 bytes. Also standardize the te_identity and te_chunked decoding functions. Now they both try to read as much as possible (up to the limit), making body reading much faster when not using chunked encoding. | |||
2013-03-05 | Handle identity transfer-encoding when determining body length | Loïc Hoguin | |
2013-03-03 | Merge branch 'param_all' of git://github.com/nevar/cowboy | Loïc Hoguin | |
2013-03-03 | Add '*' matcher for parameters | Slava Yurin | |
For get_type_provided: '*' will be match any parameters of media-range in "accept" header. If '*' matched, then '*' is replaced by the matching parameters. If Accept header is missing and '*' using, then in media_type in parameters will be '*' and reply content-type will be without any parameters. For content_types_accepted: '*' will be match any parameters in "content-type" header. | |||
2013-03-02 | Allow overriding ERLC_OPTS | Loïc Hoguin | |
2013-03-02 | Describe arguments of the HTTP handler callbacks | Loïc Hoguin | |
2013-03-02 | Explain what are listeners and acceptors in Getting Started | Loïc Hoguin | |
2013-03-02 | Add a simple README in the doc folder for guidance | Loïc Hoguin | |
2013-03-02 | Disable cover in tests by default | Loïc Hoguin | |
2013-03-02 | Run tests in parallel | Loïc Hoguin | |
2013-03-02 | Disable the shell for ct_run | Loïc Hoguin | |
2013-03-02 | Use random ports for tests | Loïc Hoguin | |
2013-03-02 | Add a recommendation about static files in production to the guide | Loïc Hoguin | |
2013-03-02 | Merge branch 'onresponse_example' of git://github.com/acammack/cowboy | Loïc Hoguin | |
2013-03-01 | Add an example of onresponse hooks | Adam Cammack | |
Also fix the guide entry on hooks. | |||
2013-03-02 | Fix cowboy_router types | Loïc Hoguin | |
2013-03-01 | Merge branch 'ssl_example' of git://github.com/acammack/cowboy | Loïc Hoguin | |
2013-03-01 | Add an SSL example | Adam Cammack | |
2013-03-01 | Fix an error in the guide introduction | Loïc Hoguin | |
Reported by Joe Armstrong. | |||
2013-03-01 | Make path check cross-platform and generally safer | Loïc Hoguin | |
2013-02-27 | Optimize cowboy_static:rest_init/2 | Loïc Hoguin | |
2013-02-27 | Remove extraneous newlines in cowboy_static | Loïc Hoguin | |
2013-02-27 | Add a Supported platforms section to the guide introduction | Loïc Hoguin | |
2013-02-27 | Add more details on how to report bugs and vulnerabilities | Loïc Hoguin | |
2013-02-27 | Fix an incorrect comment in cowboy_router | Loïc Hoguin | |
2013-02-22 | Merge branch 'fix-loop-hibernate' of git://github.com/fishcakez/cowboy | Loïc Hoguin | |
2013-02-22 | Fix to prevent loop handler awakening immediately after response sent | James Fish | |
If a loop handler sent a response (e.g. cowboy_req:chunked_reply/2,/3) and then returns {loop, Req, HandlerState, hibernate} it would have a {cowboy_req, resp_sent} message in its message queue. This message would cause the process to immediately awaken, so it is flushed before hibernation. | |||
2013-02-22 | Update to 0.8.10.8.1 | Loïc Hoguin | |
2013-02-22 | Update CHANGELOG | Loïc Hoguin | |
2013-02-22 | Update AUTHORS | Loïc Hoguin | |