Show More
@@ -377,10 +377,7 class HTTPResponse(httplib.HTTPResponse) | |||
|
377 | 377 | |
|
378 | 378 | |
|
379 | 379 | def __init__(self, sock, debuglevel=0, strict=0, method=None): |
|
380 | if method: # the httplib in python 2.3 uses the method arg | |
|
381 | 380 |
|
|
382 | else: # 2.2 doesn't | |
|
383 | httplib.HTTPResponse.__init__(self, sock, debuglevel) | |
|
384 | 381 | self.fileno = sock.fileno |
|
385 | 382 | self.code = None |
|
386 | 383 | self._rbuf = '' |
General Comments 0
You need to be logged in to leave comments.
Login now