diff options
author | Loïc Hoguin <[email protected]> | 2024-01-08 10:17:50 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2024-01-08 10:22:24 +0100 |
commit | 9784179498cd36dd6d59fdb7174d61c6d24c98bc (patch) | |
tree | 66983108d0596591b8a30b0b736bcd65fa26991e /doc/src/manual/cowboy_compress_h.asciidoc | |
parent | e0adf0a19c6e9516b2078bd5dd4d288cb1a03e5e (diff) | |
download | cowboy-9784179498cd36dd6d59fdb7174d61c6d24c98bc.tar.gz cowboy-9784179498cd36dd6d59fdb7174d61c6d24c98bc.tar.bz2 cowboy-9784179498cd36dd6d59fdb7174d61c6d24c98bc.zip |
Always add vary: accept-encoding in cowboy_compress_h
We must add it even if we don't end up compressing because
it indicates that we might. This indication doesn't mean
that the user agent's accept-encoding values will ever
result in content encoding being applied.
Diffstat (limited to 'doc/src/manual/cowboy_compress_h.asciidoc')
-rw-r--r-- | doc/src/manual/cowboy_compress_h.asciidoc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/src/manual/cowboy_compress_h.asciidoc b/doc/src/manual/cowboy_compress_h.asciidoc index 048a4ac..6551567 100644 --- a/doc/src/manual/cowboy_compress_h.asciidoc +++ b/doc/src/manual/cowboy_compress_h.asciidoc @@ -57,6 +57,8 @@ The compress stream handler does not produce any event. * *2.11*: Compression is now disabled when the etag header is in the response headers. +* *2.11*: The vary: accept-encoding header is now + always set when this handler is enabled. * *2.6*: The options `compress_buffering` and `compress_threshold` were added. * *2.0*: Module introduced. |