Log message for revision 107487: fixed retrieval of the If-Modified-Since header in browser/resource.py
Changed: U Products.Five/branches/1.5/CHANGES.txt U Products.Five/branches/1.5/browser/resource.py -=- Modified: Products.Five/branches/1.5/CHANGES.txt =================================================================== --- Products.Five/branches/1.5/CHANGES.txt 2010-01-01 10:01:06 UTC (rev 107486) +++ Products.Five/branches/1.5/CHANGES.txt 2010-01-01 10:11:38 UTC (rev 107487) @@ -5,7 +5,11 @@ HEAD ==== +Five 1.5.9 (2009-01-01) +======================= + * Forward-ported viewlet manager directive fix (see c69896). +* fixed retrieval of the If-Modified-Since header in browser/resource.py Five 1.5.8 (2008-07-13) ======================= Modified: Products.Five/branches/1.5/browser/resource.py =================================================================== --- Products.Five/branches/1.5/browser/resource.py 2010-01-01 10:01:06 UTC (rev 107486) +++ Products.Five/branches/1.5/browser/resource.py 2010-01-01 10:11:38 UTC (rev 107487) @@ -83,7 +83,7 @@ # HTTP If-Modified-Since header handling. This is duplicated # from OFS.Image.Image - it really should be consolidated # somewhere... - header = request.environ.get('If-Modified-Since', None) + header = request.get_header('If-Modified-Since') if header is not None: header = header.split(';')[0] # Some proxies seem to send invalid date strings for this _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org https://mail.zope.org/mailman/listinfo/zope-checkins