0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 04:30:25 +00:00

Cosmetic changes to various documentation files

This commit is contained in:
Loïc Hoguin 2012-11-27 16:24:08 +01:00
parent 5bc5f56eb2
commit f63d3f08cf
3 changed files with 8 additions and 6 deletions

View file

@ -21,9 +21,9 @@ No parameterized module. No process dictionary. **Clean** Erlang code.
Quick start
-----------
* Add Cowboy as a rebar dependency to your application.
* Start Cowboy and add one or more listeners.
* Write handlers for your application.
* Add Cowboy as a rebar dependency to your application
* Start Cowboy and add one or more listeners
* Write handlers for your application
Getting Started
---------------

View file

@ -8,9 +8,10 @@ Cowboy User Guide
* Getting started
* Routing
* Purpose
* Dispatch rule
* Dispatch list
* Match rules
* Bindings
* Constraints
* Handlers
* Purpose
* Protocol upgrades

View file

@ -195,8 +195,9 @@ options(Req, State) ->
%%
%% Note that it is also possible to return a binary content type that will
%% then be parsed by Cowboy. However note that while this may make your
%% resources a little more readable, this is a lot less efficient. An example
%% of such a return value would be:
%% resources a little more readable, this is a lot less efficient.
%%
%% An example of such return value would be:
%% {<<"text/html">>, to_html}
content_types_provided(Req, State) ->
case call(Req, State, content_types_provided) of