Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-15 | Merge branch 'patch-1' of git://github.com/alco/cowboy | Loïc Hoguin | |
2013-11-15 | Fix link to the Ranch guide in getting started | Loïc Hoguin | |
2013-11-14 | Fix grammar in "how it looks like" | Alexei Sholik | |
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-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 | 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-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-08-27 | Fix some explanations around response bodies | Loïc Hoguin | |
2013-06-27 | Minor corrections of the guide | Matthias Endler | |
2013-06-27 | Greatly improve the guide introduction | Loïc Hoguin | |
2013-06-23 | Reword the clean erlang code part | Loïc Hoguin | |
We don't care about parameterized modules anymore. They're gone! | |||
2013-05-16 | Make the HTTP version type more practical | Loïc Hoguin | |
Now instead of {1, 1} we have 'HTTP/1.1', and instead of {1, 0} we have 'HTTP/1.0'. This is more efficient, easier to read in crash logs, and clearer in the code. | |||
2013-05-15 | Remove cowboy_req:fragment/1 | Loïc Hoguin | |
Clients do not send it. We skip the value if we receive it now, as it shouldn't happen, and won't for all the mainstream clients. | |||
2013-04-26 | Fix a small error in the REST part of the guide | Loïc Hoguin | |
2013-04-26 | Update the REST chapter of the guide | Loïc Hoguin | |
2013-04-25 | Improve static file handler guide chapter | Loïc Hoguin | |
Add more infos about MIME types and the file option. | |||
2013-04-25 | Document meta values set by REST | Loïc Hoguin | |
You can use these values to perform a reply using the negotiated content-type and language for non-HEAD/GET methods. | |||
2013-04-19 | Add section about REST methods | Loïc Hoguin | |
2013-04-12 | Add default operations for OPTIONS method in REST | Loïc Hoguin | |
It defaults to setting the Allow header to "HEAD, GET, OPTIONS". | |||
2013-04-11 | Merge branch 'eventsource-helper' of git://github.com/jdavisp3/cowboy | Loïc Hoguin | |
2013-04-11 | Fix static handler snippet in the guide | Loïc Hoguin | |
Thanks to Martin Törnwall for pointing this out. | |||
2013-04-11 | First draft of the REST chapter in the guide | Loïc Hoguin | |
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-06 | Add a reference to an eventsource helper utility. | Dave Peticolas | |
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-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-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 recommendation about static files in production to the guide | Loïc Hoguin | |
2013-03-01 | Add an example of onresponse hooks | Adam Cammack | |
Also fix the guide entry on hooks. | |||
2013-03-01 | Fix an error in the guide introduction | Loïc Hoguin | |
Reported by Joe Armstrong. | |||
2013-02-27 | Add a Supported platforms section to the guide introduction | Loïc Hoguin | |
2013-02-20 | Add cowboy:set_env/3 | Loïc Hoguin | |
2013-02-16 | Add sub protocol behaviour | James Fish | |
2013-02-12 | Merge branch 'static_doc' of git://github.com/acammack/cowboy | Loïc Hoguin | |
2013-02-11 | Fix examples in cowboy_static edoc and guide | Adam Cammack | |
2013-02-11 | Add a few directions in the REST chapter in the guide | Loïc Hoguin | |
This is obviously not proper documentation. We will properly document it when the API stabilizes. | |||
2013-01-31 | Small routing guide fix | Ivan Lisenkov | |
Make cowboy_router:compile/1 return to be consistent with current implementation. | |||
2013-01-30 | Fix small error in the websocket chapter in the guide | Loïc Hoguin | |
Reported by Michel Rijnders. | |||
2013-01-29 | Add a section about closing the connection in the guide | Loïc Hoguin | |
2013-01-28 | Add the 'function' constraint | Loïc Hoguin | |
2013-01-28 | Add the 'int' constraint | Loïc Hoguin | |