[Zope-Checkins] CVS: Zope2 - Image.py:1.105.2.6
Brian Lloyd
brian@digicool.com
Thu, 6 Jul 2000 09:34:31 -0400
Update of /cvs-repository/Zope2/lib/python/OFS
In directory korak.digicool.com:/home/brian/temp/test_22/lib/python/OFS
Modified Files:
Tag: Zope-2_2-branch
Image.py
Log Message:
Fix for bug #1388 - handling of invalid If-Modified-Since date values.
Some proxies appear to send invalid date strings (in this case, multiple
valid date strings stuck together with commas). While the spec says that
we _should_ raise Bad Request, Apache appears able to handle these values
due to a happy coincidence in the way they parse date strings. Rather
than be draconian about the spec, I've changed IMS handling so that invalid
date strings are simply ignored as if the header weren't there at all. This
is closer to the behavior people would expect based on other servers.