equal
deleted
inserted
replaced
351 # Both readline and readlines have been stolen with almost no |
351 # Both readline and readlines have been stolen with almost no |
352 # modification from socket.py |
352 # modification from socket.py |
353 |
353 |
354 |
354 |
355 def __init__(self, sock, debuglevel=0, strict=0, method=None): |
355 def __init__(self, sock, debuglevel=0, strict=0, method=None): |
356 httplib.HTTPResponse.__init__(self, sock, debuglevel, method) |
356 httplib.HTTPResponse.__init__(self, sock, debuglevel=debuglevel, |
|
357 strict=True, method=method) |
357 self.fileno = sock.fileno |
358 self.fileno = sock.fileno |
358 self.code = None |
359 self.code = None |
359 self._rbuf = '' |
360 self._rbuf = '' |
360 self._rbufsize = 8096 |
361 self._rbufsize = 8096 |
361 self._handler = None # inserted by the handler later |
362 self._handler = None # inserted by the handler later |