0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-16 05:00:24 +00:00
cowboy/src
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
..
cowboy.app.src Welcome to new developments with 0.5.0 2012-01-12 20:08:35 +01:00
cowboy.erl Add cowboy:get_protocol_options/1 and cowboy_set_protocol_options/2 2012-01-31 08:49:15 +01:00
cowboy_acceptor.erl Check for upgrades on accept timeout 2012-02-20 09:31:22 +01:00
cowboy_acceptors_sup.erl polished dialyzer warnings on supervisor init/1 specs 2012-02-20 21:25:19 -08:00
cowboy_app.erl Fix a dialyzer warning 2011-12-15 20:45:12 +01:00
cowboy_bstr.erl Move a few binary string handling functions to cowboy_bstr 2011-10-04 18:34:14 +02:00
cowboy_clock.erl Use calendar date and time types exported since R14B04 2011-12-26 10:17:29 +01:00
cowboy_cookies.erl Use calendar date and time types exported since R14B04 2011-12-26 10:17:29 +01:00
cowboy_dispatcher.erl replace quoted:from_url with cowboy_http:urldecode 2011-12-07 19:02:10 +01:00
cowboy_http.erl Remove the redundant include/ from -include("http.hrl") 2012-02-27 08:07:03 +01:00
cowboy_http_handler.erl Add documentation for the public interface. 2011-07-06 17:42:20 +02:00
cowboy_http_protocol.erl Remove the redundant include/ from -include("http.hrl") 2012-02-27 08:07:03 +01:00
cowboy_http_req.erl Remove the redundant include/ from -include("http.hrl") 2012-02-27 08:07:03 +01:00
cowboy_http_rest.erl Tests and fixes for the generate_etag/2 callback 2012-02-29 22:32:37 +01:00
cowboy_http_static.erl Tests and fixes for the generate_etag/2 callback 2012-02-29 22:32:37 +01:00
cowboy_http_websocket.erl Remove the redundant include/ from -include("http.hrl") 2012-02-27 08:07:03 +01:00
cowboy_http_websocket_handler.erl Allow websocket handlers to hibernate from the websocket_init/3 function 2011-09-15 23:20:02 +02:00
cowboy_listener.erl Check for upgrades on accept timeout 2012-02-20 09:31:22 +01:00
cowboy_listener_sup.erl Add cowboy:get_protocol_options/1 and cowboy_set_protocol_options/2 2012-01-31 08:49:15 +01:00
cowboy_multipart.erl Add 'Expect' header parsing 2012-02-20 08:25:05 +01:00
cowboy_protocol.erl Add cowboy:accept_ack/1 for a cleaner handling of the shoot message 2011-12-15 20:19:02 +01:00
cowboy_requests_sup.erl polished dialyzer warnings on supervisor init/1 specs 2012-02-20 21:25:19 -08:00
cowboy_ssl_transport.erl Remove a completed @todo comment 2012-02-27 08:06:27 +01:00
cowboy_sup.erl polished dialyzer warnings on supervisor init/1 specs 2012-02-20 21:25:19 -08:00
cowboy_tcp_transport.erl Add documentation for the public interface. 2011-07-06 17:42:20 +02:00