27 Aug
2002
27 Aug
'02
8:57 p.m.
Steve Lay writes:
... When a request is made to the server with an appropriate Is-Modified-Since header the code in lib/python/OFS/Image.py sets the Content-Length to the length of the image data but returns an empty string. My reading of the HTTP/1.1 spec suggests this is an error, see quote below:
"If a Content-Length header field (section 14.13) is present, its decimal value in OCTETs represents both the entity-length and the transfer-length. The Content-Length header field MUST NOT be sent if these two lengths are different". Looks like a Zope bug for me.
Please file a bug report to Zope issue tracker <http://collector.zope.org> Dieter