0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 20:50:24 +00:00

Add optional automatic response body compression

This behavior can be enabled with the `compress` protocol option.
See the `compress_response` example for more details.

All tests are now ran with and without compression for both HTTP
and HTTPS.
This commit is contained in:
Loïc Hoguin 2013-01-07 22:42:16 +01:00
parent a013becc66
commit 01f57ad65d
13 changed files with 294 additions and 23 deletions

View file

@ -4,6 +4,9 @@ Cowboy Examples
* [chunked_hello_world](./examples/chunked_hello_world):
demonstrates chunked data transfer with two one-second delays
* [compress_response](./examples/compress_response)
send a response body compressed if the client supports it
* [cookie](./examples/cookie):
set cookies from server and client side