Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-22 | Replace terminate/2 with terminate/3, adding a Reason | Loïc Hoguin | |
This should have been done a *long* time ago, back when I initially added Websocket support. This is the first part of two in improving loop handler support with regards to socket closure. Reason may include: {normal, shutdown} for the most normal shutdown, {normal, timeout} for a loop handler timeout shutdown, or {error, _} if an error occured. | |||
2013-01-19 | Make cowboy_req:has_body/1 return boolean() | Loïc Hoguin | |
This makes it similar to the other has_* functions. | |||
2013-01-07 | Add optional automatic response body compression | Loïc Hoguin | |
This behavior can be enabled with the `compress` protocol option. See the `compress_response` example for more details. All tests are now ran with and without compression for both HTTP and HTTPS. | |||
2013-01-05 | Fix examples to follow new env tuple standard | Unix1 | |
This brings examples in line with the recent Middleware change. | |||
2012-12-20 | Add cookie example | Loïc Hoguin | |
2012-12-14 | Improve Markdown for the examples README | Loïc Hoguin | |
2012-12-05 | Make a few more missing headers lowercase | Loïc Hoguin | |
2012-10-11 | Start crypto also in the examples and documentation | Loïc Hoguin | |
2012-10-11 | Merge branch 'dbmercer-patch-1' of git://github.com/dbmercer/cowboy.git | Loïc Hoguin | |
2012-10-11 | Modified static example to send appropriate MIME type | dbmercer | |
Modified the static example in the examples subdirectory to use the mimetypes application to determine the appropriate MIME type to send down the wire in the HTTP headers of the reply. | |||
2012-10-11 | Fix Vary header, was wrongly named Variances previously | Loïc Hoguin | |
2012-10-01 | Fixing relative links | Josh Toft | |
2012-10-01 | Add rest_hello_world link to examples README | Josh Toft | |
2012-10-01 | Make example README's more thorough | Josh Toft | |
2012-09-21 | Don't use decode_packet/3 for parsing the request-line | Loïc Hoguin | |
First step in making all methods and header names binaries to get rid of many inconsistencies caused by decode_packet/3. Methods are all binary now. Note that since they are case sensitive, the usual methods become <<"GET">>, <<"POST">> and so on. | |||
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-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 | Switch to Ranch for connection handling | Loïc Hoguin | |
This is the first of many API incompatible changes. You have been warned. | |||
2012-07-22 | Add a REST Hello World example | Loïc Hoguin | |
2012-07-22 | Add a Chunked Hello World example | Loïc Hoguin | |
2012-07-22 | Add a POST echo example | Loïc Hoguin | |
2012-07-22 | Add a GET echo example | Loïc Hoguin | |
2012-07-14 | Add a simple Static File Server example | Loïc Hoguin | |
2012-07-13 | Add an Hello World example | Loïc Hoguin | |
2012-02-20 | Add an examples/ directory containing a link to cowboy_examples | Loïc Hoguin | |