Loïc Hoguin
a07d063fd8
Add cookie example
2012-12-20 14:40:22 +01:00
Loïc Hoguin
1851032482
Improve Markdown for the examples README
2012-12-14 10:50:26 +01:00
Loïc Hoguin
db6b1596ae
Make a few more missing headers lowercase
2012-12-05 13:43:25 +01:00
Loïc Hoguin
160063497c
Start crypto also in the examples and documentation
2012-10-11 20:52:29 +02:00
Loïc Hoguin
7b3d9943a9
Merge branch 'dbmercer-patch-1' of git://github.com/dbmercer/cowboy.git
2012-10-11 20:48:29 +02:00
dbmercer
b5fdf02af0
Modified static example to send appropriate MIME type
...
Modified the static example in the examples subdirectory
to use the mimetypes application to determine the appropriate
MIME type to send down the wire in the HTTP headers of the reply.
2012-10-11 20:47:35 +02:00
Loïc Hoguin
642a8f73c9
Fix Vary header, was wrongly named Variances previously
2012-10-11 20:44:53 +02:00
Josh Toft
958c4f7283
Fixing relative links
2012-10-01 16:05:54 -07:00
Josh Toft
e7a66b9c1e
Add rest_hello_world link to examples README
2012-10-01 13:21:45 -07:00
Josh Toft
855828d15c
Make example README's more thorough
2012-10-01 10:37:24 -07:00
Loïc Hoguin
8497c8bbcd
Don't use decode_packet/3 for parsing the request-line
...
First step in making all methods and header names binaries to
get rid of many inconsistencies caused by decode_packet/3.
Methods are all binary now. Note that since they are case
sensitive, the usual methods become <<"GET">>, <<"POST">> and so on.
2012-09-21 08:54:57 +02:00
Loïc Hoguin
8d5f8db90a
Improve consistency of return types for cowboy_req API
...
The signature of parse_header, body_qs, multipart_data and
the set_resp_* functions has changed.
See the cowboy_req module edoc for more details.
2012-09-17 13:56:58 +02:00
Loïc Hoguin
f39c001c03
Rename cowboy_http_static to cowboy_static
2012-08-27 13:53:27 +02:00
Loïc Hoguin
6d84afd16d
Rename cowboy_http_rest to cowboy_rest
2012-08-27 13:39:59 +02:00
Loïc Hoguin
d3dcaf109b
Rename cowboy_http_req to cowboy_req
2012-08-27 13:28:57 +02:00
Loïc Hoguin
e4124de2c7
Switch to Ranch for connection handling
...
This is the first of many API incompatible changes.
You have been warned.
2012-08-27 11:50:35 +02:00
Loïc Hoguin
f212cafad2
Add a REST Hello World example
2012-07-22 05:09:56 +02:00
Loïc Hoguin
6ea32d605d
Add a Chunked Hello World example
2012-07-22 05:09:56 +02:00
Loïc Hoguin
73c07376bb
Add a POST echo example
2012-07-22 05:09:56 +02:00
Loïc Hoguin
370b3d9648
Add a GET echo example
2012-07-22 05:09:56 +02:00
Loïc Hoguin
86f9f481c8
Add a simple Static File Server example
2012-07-14 20:24:47 +02:00
Loïc Hoguin
b8a25b156c
Add an Hello World example
2012-07-13 10:15:22 +02:00
Loïc Hoguin
9baf3e2ae9
Add an examples/ directory containing a link to cowboy_examples
2012-02-20 08:42:45 +01:00