[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser - ZPTPageEval.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/ZPTPage/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv6342/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser

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


=== Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser/ZPTPageEval.py 1.2 => 1.3 ===
 
         if REQUEST is not None:
-            REQUEST.getResponse().setHeader('content-type',
-                                            template.content_type)
+            REQUEST.response.setHeader('content-type',
+                                       template.content_type)
 
         return template.render(REQUEST, **kw)