bug [ 1155638 ] self.length shield exception in httplib
This commit is contained in:
parent
8d457c78b4
commit
0aade9a9f9
|
@ -353,6 +353,7 @@ class HTTPResponse:
|
|||
raise UnknownProtocol(version)
|
||||
|
||||
if self.version == 9:
|
||||
self.length = None
|
||||
self.chunked = 0
|
||||
self.will_close = 1
|
||||
self.msg = HTTPMessage(StringIO())
|
||||
|
|
Loading…
Reference in New Issue