Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 86176 invoked by uid 500); 17 May 2003 16:42:13 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 86163 invoked from network); 17 May 2003 16:42:13 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 17 May 2003 16:42:13 -0000 Received: (qmail 15259 invoked by uid 50); 17 May 2003 16:44:22 -0000 Date: 17 May 2003 16:44:22 -0000 Message-ID: <20030517164422.15258.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: cocoon-dev@xml.apache.org Cc: Subject: DO NOT REPLY [Bug 20012] New: - ResourceReader, "304 Not Modified" not working X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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.