Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-14 | Merge pull request #216 from nox/rfc6585 | Loïc Hoguin | |
Add new HTTP status codes from RFC 6585 | |||
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 | Add a test checking requests with size around the MTU | Loïc Hoguin | |
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-02 | Add a test for HTTP handlers loop timeouts | Loïc Hoguin | |
2012-05-01 | Refactor the reply functions | Loïc Hoguin | |
2012-04-30 | Merge branch 'cowboy-client' | Loïc Hoguin | |
2012-04-29 | Fix and rework the HTTP test suite | Loïc Hoguin | |
Use a proper HTTP client to run all tests. This client is currently undocumented and should not be used. Includes a few fixes: * Fix a bug in the max_keepalive test * Fix a bug with max_keepalive handling * Fix a bug in stream_body/1 where data was lost under some conditions The tests now run quite faster than before. All the tests now run twice: once for TCP, once for SSL. | |||
2012-04-29 | Add .cowboy.plt to the gitignore | Loïc Hoguin | |
2012-04-24 | use erlang:start_timer/3 instead of erlang:send_after/3 for handling timeouts | Bob Ippolito | |
2012-04-13 | Add a clean-docs target to the Makefile | Loïc Hoguin | |
2012-04-12 | Cleanup the .gitignore | Loïc Hoguin | |
2012-04-12 | Use a separate rebar.config file for running tests | Loïc Hoguin | |
2012-04-06 | Merge branch 'adt-add-sockname' of https://github.com/Vagabond/cowboy | Loïc Hoguin | |
2012-04-06 | Merge branch 'websocket-fragments' of https://github.com/klaar/cowboy | Loïc Hoguin | |
2012-04-06 | Add sockname/1 to the TCP and SSL transports | Andrew Thompson | |
2012-04-06 | Update autobahn suite to use autobahntestsuite | Magnus Klaar | |
2012-04-05 | Add support for fragmented websocket messages | Magnus Klaar | |
2012-04-01 | Add chunked transfer encoding support and rework the body reading API | Loïc Hoguin | |
Introduces 3 low level functions and updates the existing higher levels functions. The new primitives are has_body/1, body_length/1 and stream_body/1. In addition to that, a helper function init_stream/4 has been added. Streaming a body implies to decode the Transfer-Encoding and Content-Encoding used for the body. By default, Cowboy will try to figure out what was used and decode them properly. You can override this if you want to disable this behavior or simply support more encodings by calling the init_stream/4 function before you start streaming the body. | |||
2012-04-01 | Merge branch 'log-proplist-req' | Loïc Hoguin | |
2012-04-01 | Convert request to proplist when logging | Magnus Klaar | |
2012-03-23 | Merge branch 'add-ssl-ciphers-configuration' of ↵ | Loïc Hoguin | |
https://github.com/tillitech/cowboy | |||
2012-03-23 | Update the edoc for cowboy_ssl_transport:listen/1 | Ali Sabil | |
2012-03-23 | Merge branch 'patch-1' of https://github.com/si14/cowboy | Loïc Hoguin | |
2012-03-22 | Fixing badmatch when browser closes connection earlier than file was fully sent | Dmitry Groshev | |
2012-03-21 | Add support for specifying the ciphers for the SSL transport | Ali Sabil | |
2012-03-21 | Simplify the options filtering code in cowboy_ssl_transport | Ali Sabil | |
2012-03-15 | Don't close requests when the replied body is chunked | Loïc Hoguin | |
2012-03-15 | Add an 'onrequest' hook for HTTP | Loïc Hoguin | |
This new protocol option is a fun. It expects a single arg, the Req, and should only return a possibly modified Req. This can be used for many things like URL rewriting, access logging or listener-wide authentication. If a reply is sent inside the hook, then Cowboy will consider the request handled and will move on to the next one. | |||
2012-03-13 | Do not send chunked Transfer-Encoding replies for HTTP/1.0 | Loïc Hoguin | |
Fixes compatibility issue #140 reported by @majek. | |||
2012-03-13 | Merge branch 'content-type-accepted-asterisk-atom' of ↵ | Loïc Hoguin | |
https://github.com/dysinger/cowboy Added a comment explaining the '*' always matching. | |||
2012-03-12 | Merge branch 'fix/relax-media-type-parsing' of ↵ | Loïc Hoguin | |
https://github.com/tillitech/cowboy | |||
2012-03-12 | Rename inet:ip_port() to inet:port_number() | Loïc Hoguin | |
Thanks go to @superbobry for pointing it out. | |||
2012-03-09 | Merge branch 'cookie-expire-fix' of https://github.com/klaar/cowboy | Loïc Hoguin | |
2012-03-09 | Fix issue #157 relating to daylight savings time. | Magnus Klaar | |
2012-03-09 | Make media type parsing more relaxed | Ali Sabil | |
Certain user agents send slightly invalid media types, like the following: "text/html, image/gif, image/jpeg, ; q=.2, */; q=.2" The user agent with which this behavior was observed presented itself with the User-Agent string: "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (FlipboardProxy/0.0.5; +http://flipboard.com/browserproxy)" | |||
2012-03-08 | If we have a mapping to '*' then use it as the default catch all accept | Tim Dysinger | |
2012-03-02 | Merge branch 'rest-etag-fixes' of https://github.com/klaar/cowboy | Loïc Hoguin | |
2012-02-29 | Tests and fixes for the generate_etag/2 callback | Magnus Klaar | |
The return value from the generate_etag/2 callback is expected to be a binary tagged with either weak or strong. This binary is quoted, and may be prefixed with W/ before it is set as the value of the ETag header in the response. For backwards compatibility with older handlers where the return value was expected to be a quoted binary a function has been added to parse any return values that are untagged binaries. All untagged binaries are expected to be a valid value for the ETag header. | |||
2012-02-27 | Add a roadmap | Loïc Hoguin | |
2012-02-27 | Remove the redundant include/ from -include("http.hrl") | Loïc Hoguin | |
2012-02-27 | Remove a completed @todo comment | Loïc Hoguin | |
2012-02-24 | Merge pull request #146 from ostinelli/f3de0869801d3909cc5a5d5dbee81941481a0c2e | Loïc Hoguin | |
Polish dialyzer warnings on supervisor init/1 |