diff options
Diffstat (limited to 'jetty-http')
-rw-r--r-- | jetty-http/src/main/java/org/eclipse/jetty/http/gzip/AbstractCompressedStream.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/gzip/AbstractCompressedStream.java b/jetty-http/src/main/java/org/eclipse/jetty/http/gzip/AbstractCompressedStream.java index 39aaa99516..316bcb27ca 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/gzip/AbstractCompressedStream.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/gzip/AbstractCompressedStream.java @@ -235,6 +235,7 @@ public abstract class AbstractCompressedStream extends ServletOutputStream throw new IllegalStateException(); setHeader("Content-Encoding", _encoding); + setHeader("Vary","Accept-Encoding"); if (_response.containsHeader("Content-Encoding")) { |