commit | 0aade9a9f9e3901ae5e69184370d382bea375a6f | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Jun 26 22:06:54 2005 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Jun 26 22:06:54 2005 +0000 |
tree | b149dbad40e854fa8d837d1b7af9f3fc5f312065 | |
parent | 8d457c78b4bdaab7aab18ae91e8bc5f5e7484ba4 [diff] |
bug [ 1155638 ] self.length shield exception in httplib
diff --git a/Lib/httplib.py b/Lib/httplib.py index 01fc1ee..e017cdf 100644 --- a/Lib/httplib.py +++ b/Lib/httplib.py
@@ -353,6 +353,7 @@ raise UnknownProtocol(version) if self.version == 9: + self.length = None self.chunked = 0 self.will_close = 1 self.msg = HTTPMessage(StringIO())