mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 12:40:25 +00:00
![]() 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. |
||
---|---|---|
.. | ||
autobahn_SUITE_data | ||
http_SUITE_data | ||
autobahn_SUITE.erl | ||
chunked_handler.erl | ||
dispatcher_prop.erl | ||
http_handler.erl | ||
http_handler_errors.erl | ||
http_handler_init_shutdown.erl | ||
http_handler_long_polling.erl | ||
http_handler_multipart.erl | ||
http_handler_set_resp.erl | ||
http_handler_stream_body.erl | ||
http_SUITE.erl | ||
proper_SUITE.erl | ||
rest_forbidden_resource.erl | ||
rest_nodelete_resource.erl | ||
rest_resource_etags.erl | ||
rest_simple_resource.erl | ||
websocket_echo_handler.erl | ||
websocket_handler.erl | ||
websocket_handler_init_shutdown.erl | ||
ws_SUITE.erl | ||
ws_timeout_hibernate_handler.erl |