diff options
Diffstat (limited to 'Lib/httplib.py')
-rw-r--r-- | Lib/httplib.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py index e5ef8b7..262d602 100644 --- a/Lib/httplib.py +++ b/Lib/httplib.py @@ -514,6 +514,9 @@ class HTTPResponse: if self.fp is None: return '' + if self._method == 'HEAD': + return '' + if self.chunked: return self._read_chunked(amt) |