You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/12/16 15:43:00 UTC

DO NOT REPLY [Bug 15401] New: - ResourceReader doest not set Last-Modified header

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=15401>.
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=15401

ResourceReader doest not set Last-Modified header

           Summary: ResourceReader doest not set Last-Modified header
           Product: Cocoon 2
           Version: Current CVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: maciejka@tiger.com.pl


ResourceReader doest not set Last-Modified header. This precludes Java WebStart 
from properly caching client applications. Here is the fix:

177            if (getLastModified() > 0) {
178                response.setDateHeader("Last-Modified", getLastModified());
179            }

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org