Kaydet (Commit) 0aade9a9 authored tarafından Georg Brandl's avatar Georg Brandl

bug [ 1155638 ] self.length shield exception in httplib

üst 8d457c78
......@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment