diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/http/client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py index f9b74e4..612fa37 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -488,6 +488,7 @@ class HTTPResponse(io.RawIOBase): return b"" if self._method == "HEAD": + self.close() return b"" if self.chunked: |