[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Image/Views/Browser - ImageData.py:1.3

Jim Fulton jim@zope.com
Tue, 18 Jun 2002 10:47:34 -0400


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

Modified Files:
	ImageData.py 
Log Message:
Renamed request getResponse method to read-only response property.


=== Zope3/lib/python/Zope/App/OFS/Content/Image/Views/Browser/ImageData.py 1.2 => 1.3 ===
         image = self.context
         if self.request is not None:
-            self.request.getResponse().setHeader('content-type',
+            self.request.response.setHeader('content-type',
                                                  image.getContentType()) 
         return image.getData()