cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20012] New: - ResourceReader, "304 Not Modified" not working
Date Sat, 17 May 2003 16:44:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20012>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20012

ResourceReader, "304 Not Modified" not working

           Summary: ResourceReader, "304 Not Modified" not working
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: volker.schmitt@basf-it-services.com


please change in:
org.apache.cocoon.environment.http.HttpEnvironment.isResponseModified()

return (if_modified_since < lastModified);
to
return (if_modified_since / 1000 < lastModified / 1000);

this will fix the problem, because "if_modified_since" the milliseconds part is
allways 0.

Mime
View raw message