diff options
Diffstat (limited to 'Lib/http')
-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 2ddb014..c83c53b 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: |