aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_static.erl
AgeCommit message (Collapse)Author
2012-04-30Add file option to cowboy_http_staticMagnus Klaar
2012-03-23Merge branch 'patch-1' of https://github.com/si14/cowboyLoïc Hoguin
2012-03-22Fixing badmatch when browser closes connection earlier than file was fully sentDmitry Groshev
2012-02-29Tests and fixes for the generate_etag/2 callbackMagnus Klaar
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-01-23Fix typespecs for calendar:datetime/0 in cowboy_http_staticLoïc Hoguin
2012-01-07Add etag option to cowboy_http_static handler.Magnus Klaar
2012-01-05Add test and doc for content types function.Magnus Klaar
2012-01-03Add note on async threads to cowboy_http_static.Magnus Klaar
2011-12-28Add built-in cowboy_http_static handler.Magnus Klaar