summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/httplib.py1
1 files changed, 1 insertions, 0 deletions
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 @@ class HTTPResponse:
raise UnknownProtocol(version)
if self.version == 9:
+ self.length = None
self.chunked = 0
self.will_close = 1
self.msg = HTTPMessage(StringIO())