cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r155063 - cocoon/trunk/src/java/org/apache/cocoon/reading/ResourceReader.java
Date Wed, 23 Feb 2005 20:12:24 GMT
Author: vgritsenko
Date: Wed Feb 23 12:12:23 2005
New Revision: 155063

URL: http://svn.apache.org/viewcvs?view=rev&rev=155063
Log:
Fix Bug #33319

Modified:
    cocoon/trunk/src/java/org/apache/cocoon/reading/ResourceReader.java

Modified: cocoon/trunk/src/java/org/apache/cocoon/reading/ResourceReader.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/reading/ResourceReader.java?view=diff&r1=155062&r2=155063
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/reading/ResourceReader.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/reading/ResourceReader.java Wed Feb 23 12:12:23
2005
@@ -302,7 +302,7 @@
         try {
             if (expires > 0) {
                 response.setDateHeader("Expires", System.currentTimeMillis() + expires);
-            } else {
+            } else if (expires == 0) {
                 // See Bug #14048
                 response.addHeader("Vary", "Host");
             }



Mime
View raw message