cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/environment/http HttpEnvironment.java
Date Mon, 23 Sep 2002 10:24:36 GMT
cziegeler    2002/09/23 03:24:36

  Modified:    src/java/org/apache/cocoon/environment/http
                        HttpEnvironment.java
  Log:
  Simple workaround for bug 12915
  
  Revision  Changes    Path
  1.16      +6 -1      xml-cocoon2/src/java/org/apache/cocoon/environment/http/HttpEnvironment.java
  
  Index: HttpEnvironment.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/environment/http/HttpEnvironment.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- HttpEnvironment.java	13 Sep 2002 06:46:29 -0000	1.15
  +++ HttpEnvironment.java	23 Sep 2002 10:24:36 -0000	1.16
  @@ -237,10 +237,15 @@
        *         environment is not able to test it
        */
       public boolean isResponseModified(long lastModified) {
  +        // workaround for bug #12915
  +        // FIXME
  +        return true;
  +        /*
           long if_modified_since = this.request.getDateHeader("If-Modified-Since");
   
           this.response.setDateHeader("Last-Modified", lastModified);
           return (if_modified_since < lastModified);
  +        */
       }
   
       /**
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message