Commit b36d7115 authored by 's avatar

Removed "Last-Modified" header from Images since they seem to be causing

problems with some clients.
parent 60767845
......@@ -84,7 +84,7 @@
##############################################################################
"""Image object"""
__version__='$Revision: 1.71 $'[11:-2]
__version__='$Revision: 1.72 $'[11:-2]
import Globals, string, struct, content_types
from OFS.content_types import guess_content_type
......@@ -180,7 +180,7 @@ class File(Persistent,Implicit,PropertyManager,
else:
c()
RESPONSE.setHeader('content-type', self.content_type)
RESPONSE.setHeader('Last-Modified', rfc1123_date(self._p_mtime))
# RESPONSE.setHeader('Last-Modified', rfc1123_date(self._p_mtime))
return self.data
......
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