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 12:16:53 GMT
cziegeler    2002/09/23 05:16:53

  Modified:    src/java/org/apache/cocoon/environment/http Tag:
                        cocoon_2_0_3_branch HttpEnvironment.java
  Log:
  Adding workaround for bug 12915
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.12.2.2  +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.12.2.1
  retrieving revision 1.12.2.2
  diff -u -r1.12.2.1 -r1.12.2.2
  --- HttpEnvironment.java	15 Jul 2002 14:42:49 -0000	1.12.2.1
  +++ HttpEnvironment.java	23 Sep 2002 12:16:53 -0000	1.12.2.2
  @@ -247,10 +247,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