0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00
cowboy/guide
Loïc Hoguin 6672ea0415 Review, improve and document the static files handler
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-11-02 14:41:46 +01:00
..
cookies.md Greatly expand on the Req object 2013-09-23 15:44:10 +02:00
erlang_beginners.md Greatly improve the guide introduction 2013-06-27 00:02:12 +02:00
erlang_web.md Minor corrections of the guide 2013-06-27 22:34:56 +02:00
getting_started.md erlang.mk now has built-in support for relx 2013-10-14 16:05:19 +02:00
handlers.md Add sub protocol behaviour 2013-02-16 16:19:53 +00:00
hooks.md Add an example of onresponse hooks 2013-03-01 19:54:30 -06:00
http_handlers.md Greatly improve the HTTP handlers chapter 2013-09-18 20:29:48 +02:00
http_req_life.md Added a chapter about life of HTTP requests 2013-09-18 12:02:37 +02:00
http_req_resp.png Added a chapter about life of HTTP requests 2013-09-18 12:02:37 +02:00
http_req_resp.svg Added a chapter about life of HTTP requests 2013-09-18 12:02:37 +02:00
internals.md Finish up the Internals chapter 2013-01-18 20:22:49 +01:00
introduction.md Remove unnecessary titles 2013-09-18 20:30:11 +02:00
loop_handlers.md Replace terminate/2 with terminate/3, adding a Reason 2013-01-22 02:34:18 +01:00
middlewares.md Update Ranch to 0.8.0 2013-04-03 13:47:12 +02:00
modern_web.md Fix SPDY push explanations 2013-09-10 12:08:18 +02:00
req.md Greatly expand on the Req object 2013-09-23 15:44:10 +02:00
req_body.md Greatly expand on the Req object 2013-09-23 15:44:10 +02:00
resources.md Add a reference to an eventsource helper utility. 2013-04-06 20:05:21 -07:00
resp.md Greatly expand on the Req object 2013-09-23 15:44:10 +02:00
rest_handlers.md Fix some explanations around response bodies 2013-08-27 18:32:53 +02:00
routing.md Remove unnecessary titles 2013-09-18 20:30:11 +02:00
static_handlers.md Review, improve and document the static files handler 2013-11-02 14:41:46 +01:00
toc.md Review, improve and document the static files handler 2013-11-02 14:41:46 +01:00
ws_handlers.md Fix small error in the websocket chapter in the guide 2013-01-30 19:00:47 +01:00