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

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.
15 lines
301 B
Erlang
15 lines
301 B
Erlang
%% Feel free to use, reuse and abuse the code in this file.
|
|
|
|
{application, compress_response, [
|
|
{description, "Cowboy Compress Response example."},
|
|
{vsn, "1"},
|
|
{modules, []},
|
|
{registered, []},
|
|
{applications, [
|
|
kernel,
|
|
stdlib,
|
|
cowboy
|
|
]},
|
|
{mod, {compress_response_app, []}},
|
|
{env, []}
|
|
]}.
|