Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-09-23 | Breaking update of the cowboy_req interface | Loïc Hoguin | |
Simplify the interface for most cowboy_req functions. They all return a single value except the four body reading functions. The reply functions now only return a Req value. Access functions do not return a Req anymore. Functions that used to cache results do not have a cache anymore. The interface for accessing query string and cookies has therefore been changed. There are now three query string functions: qs/1 provides access to the raw query string value; parse_qs/1 returns the query string as a list of key/values; match_qs/2 returns a map containing the values requested in the second argument, after applying constraints and default value. Similarly, there are two cookie functions: parse_cookies/1 and match_cookies/2. More match functions will be added in future commits. None of the functions return an error tuple anymore. It either works or crashes. Cowboy will attempt to provide an appropriate status code in the response of crashed handlers. As a result, the content decode function has its return value changed to a simple binary, and the body reading functions only return on success. | |||
2014-08-01 | Update to erlang.mk 1.0.0 | Loïc Hoguin | |
2014-06-30 | Update erlang.mk and update paths to start the release | Loïc Hoguin | |
Fixes a couple invalid instructions at the same time. | |||
2014-06-03 | Add a simple multipart upload example | Loïc Hoguin | |
2014-04-27 | Use current host as base to Websocket Example URL | Eduardo Gurgel | |
2013-12-28 | Merge branch 'typofix' of git://github.com/Etsukata/cowboy | Loïc Hoguin | |
2013-12-27 | Fix echo_get/README.md | Eduardo Gurgel | |
2013-12-12 | example: fix typo in doc http to https | Eiichi Tsukata | |
ssl_hello_world_example uses https instead of http. | |||
2013-11-08 | Add link to the repository of elixir Cowboy examples | Loïc Hoguin | |
2013-11-02 | Review, improve and document the static files handler | Loïc Hoguin | |
Changes include: * Much simplified route configuration. * Etag generation is now enabled by default. * Web mimetypes are now detected by default. A bigger list of mimetypes can be detected without any additional library. * Mimetypes can no longer be specified as a list. Copying this list for new connections is too costy. You can easily convert it into a function and pass that function to the handler instead. * You can however specify a single hardcoded mimetype. Mostly useful when serving a single file, like an index.html file, to avoid extra operations. * Specifying a path as a list of tokens is not possible anymore. Use either a binary or a string. * Using a private directory will not work if the application was not started properly. Cowboy will not attempt to find the location of this directory if the VM doesn't know it, as this caused issues in some setups. * Overall the code has been much simplified and clarified, and of course has now been documented. | |||
2013-10-22 | Remove the elixir_hello_world example | Loïc Hoguin | |
Elixir examples will be in a separate repository maintained by Elixir capable developers. | |||
2013-10-22 | No need for relx in path for examples anymore | Loïc Hoguin | |
2013-10-22 | Convert the markdown_middleware example to a release | Loïc Hoguin | |
2013-10-14 | erlang.mk now has built-in support for relx | Loïc Hoguin | |
2013-09-09 | Fix the list of registered processes in the examples | Loïc Hoguin | |
2013-09-09 | Convert the websocket example to a release | Loïc Hoguin | |
2013-09-09 | Convert the web_server example to a release | Loïc Hoguin | |
Temporary mimetypes list here too. | |||
2013-09-09 | Fix command to start the static_world release | Loïc Hoguin | |
2013-09-09 | Convert the static handler example to a release | Loïc Hoguin | |
Temporarily hardcode the list of mimetypes. | |||
2013-09-08 | Convert the SSL hello world example to a release | Loïc Hoguin | |
2013-09-08 | Fix the command to start the release in rest_basic_auth example | Loïc Hoguin | |
2013-09-08 | Convert the REST streaming example to a release | Loïc Hoguin | |
2013-09-08 | Convert the REST pastebin example to a release | Loïc Hoguin | |
2013-09-08 | Add missing files to the REST basic auth example | Loïc Hoguin | |
2013-09-08 | Convert the REST hello world example to a release | Loïc Hoguin | |
2013-09-08 | Convert the EventSource example to a release | Loïc Hoguin | |
2013-09-08 | Conver the error hook example to a release | Loïc Hoguin | |
2013-09-08 | Convert the POST echo example to a release | Loïc Hoguin | |
2013-09-07 | Convert the GET echo example to a release | Loïc Hoguin | |
2013-09-07 | Convert the cookie example to a release | Loïc Hoguin | |
2013-09-07 | Convert the compressed response example to a release | Loïc Hoguin | |
2013-09-07 | Convert the chunked hello world example to a release | Loïc Hoguin | |
2013-09-07 | Rename the basic_auth example to rest_basic_auth | Loïc Hoguin | |
2013-09-07 | Convert the basic auth example to a release | Loïc Hoguin | |
2013-09-07 | Convert the hello world example to a release | Loïc Hoguin | |
2013-09-07 | Fix wrong header sent in echo_post example | Loïc Hoguin | |
2013-09-04 | Make cowlib a proper dependency | Loïc Hoguin | |
Start moving a few functions from Cowboy into cowlib. | |||
2013-08-27 | Fix issue when modifying websocket example | Loïc Hoguin | |
Thanks ale. | |||
2013-08-24 | Update Ranch to 0.8.5 | Loïc Hoguin | |
2013-08-01 | Fix rest_pastebin example | Kuk-Hyun Lee | |
2013-06-20 | Update Ranch to 0.8.4 | Loïc Hoguin | |
2013-05-16 | Update Ranch to 0.8.3 | Loïc Hoguin | |
2013-04-12 | Fix rest_pastebin example | Adam Cammack | |
Bring the rest_pastebin example in line with REST API changes for creating resources. | |||
2013-04-12 | Update Ranch to 0.8.1 | Loïc Hoguin | |
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-03 | Update Ranch to 0.8.0 | Loïc Hoguin | |
2013-03-06 | Update Ranch to 0.6.2 | Loïc Hoguin | |
2013-03-01 | Add an example of onresponse hooks | Adam Cammack | |
Also fix the guide entry on hooks. | |||
2013-03-01 | Add an SSL example | Adam Cammack | |
2013-02-16 | Merge branch 'eventsource_example' of git://github.com/acammack/cowboy | Loïc Hoguin | |