Fix for an Issue #164

This commit is contained in:
Miroslav Stampar 2012-08-26 15:46:12 +02:00
parent 9674b174ee
commit eb2d9f78ca

View File

@ -236,6 +236,7 @@ class HTTPResponse(httplib.HTTPResponse):
else: # 2.2 doesn't else: # 2.2 doesn't
httplib.HTTPResponse.__init__(self, sock, debuglevel) httplib.HTTPResponse.__init__(self, sock, debuglevel)
self.fileno = sock.fileno self.fileno = sock.fileno
self._method = method
self._rbuf = '' self._rbuf = ''
self._rbufsize = 8096 self._rbufsize = 8096
self._handler = None # inserted by the handler later self._handler = None # inserted by the handler later