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
9e2622becb
Rename cowboy_http_protocol to cowboy_protocol
2012-08-27 12:58:04 +02:00
Loïc Hoguin
a5e75219f0
Have only one -export and -export_type per line
...
This should make easier spotting additions and removals in commits.
2012-08-27 12:16:07 +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
Magnus Klaar
8168ae96c8
Add file option to cowboy_http_static
2012-04-30 23:50:23 +02:00
Loïc Hoguin
7b2793b344
Merge branch 'patch-1' of https://github.com/si14/cowboy
2012-03-23 01:55:30 +01:00
Dmitry Groshev
6e0b764e0a
Fixing badmatch when browser closes connection earlier than file was fully sent
2012-03-22 18:48:15 +04:00
Magnus Klaar
9922de6d9e
Tests and fixes for the generate_etag/2 callback
...
The return value from the generate_etag/2 callback is expected to be a
binary tagged with either weak or strong. This binary is quoted, and
may be prefixed with W/ before it is set as the value of the ETag header
in the response.
For backwards compatibility with older handlers where the return value
was expected to be a quoted binary a function has been added to parse any
return values that are untagged binaries. All untagged binaries are expected
to be a valid value for the ETag header.
2012-02-29 22:32:37 +01:00
Loïc Hoguin
3667ec9451
Fix typespecs for calendar:datetime/0 in cowboy_http_static
2012-01-23 09:20:46 +01:00
Magnus Klaar
a7334d55c0
Add etag option to cowboy_http_static handler.
2012-01-07 23:07:45 +01:00
Magnus Klaar
54d16c14ad
Add test and doc for content types function.
2012-01-05 01:01:03 +01:00
Magnus Klaar
89870b22d9
Add note on async threads to cowboy_http_static.
2012-01-03 16:29:32 +01:00
Magnus Klaar
ea7ae14df8
Add built-in cowboy_http_static handler.
2011-12-28 18:17:15 +01:00