Commit ff35700b authored by Brian Lloyd's avatar Brian Lloyd

fix for 683

parent c89b794c
......@@ -12,7 +12,7 @@
##############################################################################
"""Image object"""
__version__='$Revision: 1.144 $'[11:-2]
__version__='$Revision: 1.145 $'[11:-2]
import Globals, struct
from OFS.content_types import guess_content_type
......@@ -160,6 +160,7 @@ class File(Persistent, Implicit, PropertyManager,
RESPONSE.setHeader('Content-Length', self.size)
RESPONSE.setHeader('Accept-Ranges', 'bytes')
RESPONSE.setStatus(304)
self.ZCacheable_set(None)
return ''
if self.precondition and hasattr(self,self.precondition):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment