summaryrefslogtreecommitdiff
path: root/Lib/httplib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/httplib.py')
-rw-r--r--Lib/httplib.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py
index b1452f439c..2f0356e61c 100644
--- a/Lib/httplib.py
+++ b/Lib/httplib.py
@@ -639,6 +639,9 @@ class HTTPResponse:
amt -= len(chunk)
return ''.join(s)
+ def fileno(self):
+ return self.fp.fileno()
+
def getheader(self, name, default=None):
if self.msg is None:
raise ResponseNotReady()