[Zope-Checkins] SVN: Zope/trunk/ - Collector #1345: AcceleratedHTTPCacheManager now sends the

Andreas Jung andreas at andreas-jung.com
Sat May 22 05:18:58 EDT 2004


Log message for revision 24877:

     - Collector #1345: AcceleratedHTTPCacheManager now sends the
       Last-Modified header.



-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt	2004-05-22 01:59:25 UTC (rev 24876)
+++ Zope/trunk/doc/CHANGES.txt	2004-05-22 09:18:57 UTC (rev 24877)
@@ -118,6 +118,9 @@
 
     Bugs fixed
 
+     - Collector #1345: AcceleratedHTTPCacheManager now sends the
+       Last-Modified header.
+
      - Collector #1126: ZPublisher.Converters.field2lines now using 
        splitlines() instead of split('\n').
 

Modified: Zope/trunk/lib/python/Products/StandardCacheManagers/AcceleratedHTTPCacheManager.py
===================================================================
--- Zope/trunk/lib/python/Products/StandardCacheManagers/AcceleratedHTTPCacheManager.py	2004-05-22 01:59:25 UTC (rev 24876)
+++ Zope/trunk/lib/python/Products/StandardCacheManagers/AcceleratedHTTPCacheManager.py	2004-05-22 09:18:57 UTC (rev 24877)
@@ -99,7 +99,7 @@
         # Set HTTP Expires and Cache-Control headers
         seconds=self.interval
         expires=rfc1123_date(time.time() + seconds)
-        # RESPONSE.setHeader('Last-Modified',rfc1123_date(time.time()))
+        RESPONSE.setHeader('Last-Modified',rfc1123_date(time.time()))
         RESPONSE.setHeader('Cache-Control', 'max-age=%d' % seconds)
         RESPONSE.setHeader('Expires', expires)
 




More information about the Zope-Checkins mailing list