[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Image - ImageData.py:1.1.2.5

Jim Fulton jim@zope.com
Tue, 26 Mar 2002 16:26:25 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Image
In directory cvs.zope.org:/tmp/cvs-serv7731/Zope/App/OFS/Image

Modified Files:
      Tag: Zope-3x-branch
	ImageData.py 
Log Message:
Merged the publication refactoring branch into the main branch.

Also renamed:

  browser_reaverse -> publishTraverse

  browser_default -> browserDefault



=== Zope3/lib/python/Zope/App/OFS/Image/ImageData.py 1.1.2.4 => 1.1.2.5 ===
         image = self.getContext()
         if REQUEST is not None:
-            REQUEST['RESPONSE'].setHeader('content-type',
+            REQUEST.getResponse().setHeader('content-type',
                                           image.getContentType()) 
         return image.getData()