From 9784179498cd36dd6d59fdb7174d61c6d24c98bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= <essen@ninenines.eu>
Date: Mon, 8 Jan 2024 10:17:50 +0100
Subject: 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.
---
 doc/src/manual/cowboy_compress_h.asciidoc | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'doc/src/manual/cowboy_compress_h.asciidoc')

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.
-- 
cgit v1.2.3

