summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/http/client.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py
index 4885f5a..cef942f 100644
--- a/Lib/http/client.py
+++ b/Lib/http/client.py
@@ -469,6 +469,9 @@ class HTTPResponse(io.RawIOBase):
def flush(self):
self.fp.flush()
+ def readable(self):
+ return True
+
# End of "raw stream" methods
def isclosed(self):