[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/HTTP - HTTPRequest.py:1.6
Jim Fulton
jim@zope.com
Tue, 18 Jun 2002 10:47:38 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/HTTP
In directory cvs.zope.org:/tmp/cvs-serv6342/lib/python/Zope/Publisher/HTTP
Modified Files:
HTTPRequest.py
Log Message:
Renamed request getResponse method to read-only response property.
=== Zope3/lib/python/Zope/Publisher/HTTP/HTTPRequest.py 1.5 => 1.6 ===
self.__setupURLBase()
- self.getResponse().setCharsetUsingRequest(self)
+ self.response.setCharsetUsingRequest(self)
def __setupURLBase(self):
@@ -313,7 +313,7 @@
count = getattr(self, '_retry_count', 0)
self._retry_count = count + 1
self._body_instream.seek(0)
- new_response = self.getResponse().retry()
+ new_response = self.response.retry()
request = self.__class__(
body_instream=self._body_instream,
outstream=None,