diff options
author | Greg Wilkins | 2012-06-04 09:08:02 +0000 |
---|---|---|
committer | Greg Wilkins | 2012-06-04 09:08:02 +0000 |
commit | 66d171f7d0585cf1a5403c7ae65786d6d4ae7883 (patch) | |
tree | 1592025f825733c8141e12faafacb51c577208a7 /jetty-http | |
parent | 3e5eff37195b36426a50a6c45d27c3a80d3bc1f2 (diff) | |
download | org.eclipse.jetty.project-66d171f7d0585cf1a5403c7ae65786d6d4ae7883.tar.gz org.eclipse.jetty.project-66d171f7d0585cf1a5403c7ae65786d6d4ae7883.tar.xz org.eclipse.jetty.project-66d171f7d0585cf1a5403c7ae65786d6d4ae7883.zip |
381521 set Vary:Accept-Encoding header for compressed content
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")) { |