click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r782081 - /incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java
Date Fri, 05 Jun 2009 17:53:49 GMT
Author: sabob
Date: Fri Jun  5 17:53:49 2009
New Revision: 782081

URL: http://svn.apache.org/viewvc?rev=782081&view=rev
Log:
added Vary:Accept-Encoding support

Modified:
    incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java?rev=782081&r1=782080&r2=782081&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java
(original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/filter/CompressionResponseStream.java
Fri Jun  5 17:53:49 2009
@@ -322,6 +322,7 @@
      */
     protected boolean setContentEncodingGZip() {
         response.addHeader("Content-Encoding", "gzip");
+        response.addHeader("Vary", "Accept-Encoding");
         return response.containsHeader("Content-Encoding");
     }
 }



Mime
View raw message