Commit d02975a9 authored by 's avatar

Merged minor fix to make return values for Image.index_html consistent.

parent e395c75f
......@@ -84,7 +84,7 @@
##############################################################################
"""Image object"""
__version__='$Revision: 1.112 $'[11:-2]
__version__='$Revision: 1.113 $'[11:-2]
import Globals, string, struct, content_types
from OFS.content_types import guess_content_type
......@@ -216,7 +216,7 @@ class File(Persistent,Implicit,PropertyManager,
last_mod = long(0)
if last_mod > 0 and last_mod <= mod_since:
RESPONSE.setStatus(304)
return RESPONSE
return ''
if self.precondition and hasattr(self,self.precondition):
# Grab whatever precondition was defined and then
......
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