Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-08 | Add a workaround to disable chunked transfer-encoding | Adrian Roe | |
This is an undocumented workaround to disable chunks when using HTTP/1.1. It can be used when the client advertises itself as HTTP/1.1 despite not understanding the chunked transfer-encoding. Usage can be found looking at the test for it. When activated, Cowboy will still advertise itself as HTTP/1.1, but will send the body the same way it would if it was HTTP/1.0. | |||
2013-11-08 | Add link to the repository of elixir Cowboy examples | Loïc Hoguin | |
2013-11-08 | Optimize query string parsing | Loïc Hoguin | |
* Parsing code was moved to cowlib: cowboy_qs:parse_qs/1 * A function was added to build query strings: cowboy_qs:qs/1 * Also added cowboy_qs:urlencode/1 and cowboy_qsurldecode/1 | |||
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-23 | Move cookie parsing/building code to cowlib | Loïc Hoguin | |
The code for parsing has also been rewritten to be more efficient and to be able to handle cookie values with space inside them properly. Update cowlib to 0.2.0. | |||
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 | Add relx to the ignore list | Loïc Hoguin | |
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-23 | Greatly expand on the Req object | Loïc Hoguin | |
Cut in four different chapters: request, request body, response and cookies. | |||
2013-09-18 | Remove unnecessary titles | Loïc Hoguin | |
2013-09-18 | Greatly improve the HTTP handlers chapter | Loïc Hoguin | |
2013-09-18 | Small roadmap update | Loïc Hoguin | |
2013-09-18 | Added a chapter about life of HTTP requests | Loïc Hoguin | |
Reworked the table of contents also. | |||
2013-09-10 | Fix SPDY push explanations | Loïc Hoguin | |
2013-09-09 | Fix the list of registered processes in the examples | Loïc Hoguin | |
2013-09-09 | Fix value for header content-encoding in a test | Loïc Hoguin | |
Not that it matters for the test, but still. | |||
2013-09-09 | Add files generated by examples to the .gitignore | 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-07 | Implement recv timeout for SPDY | Loïc Hoguin | |
2013-09-07 | Much improved Getting started chapter | Loïc Hoguin | |
We now describe how to build a hello world application from start to finish, including setting up erlang.mk for building, and using relx for generating the release. All concepts are not explained in details of course, but we don't need to at this point, we just want things to be working. | |||
2013-09-04 | Make cowlib a proper dependency | Loïc Hoguin | |
Start moving a few functions from Cowboy into cowlib. | |||
2013-09-04 | More SPDY code readability improvements | Loïc Hoguin | |
2013-09-04 | Fix a badmatch issue when calling which_children on SPDY process | Loïc Hoguin | |
2013-09-04 | Simplify the SPDY code by adding child management functions | Loïc Hoguin | |
2013-09-02 | Fix specs for SPDY | Loïc Hoguin | |
2013-09-02 | Merge branch 'ipv6-literal' of git://github.com/yamt/cowboy | Loïc Hoguin | |
2013-09-03 | add some tests for Host header parser | YAMAMOTO Takashi | |
2013-09-02 | Add request body support for SPDY | Loïc Hoguin | |
And various other improvements following the addition of two tests. New dependency cowlib that will gradually receive most of the parse code from SPDY but also HTTP and its headers. |