diff options
-rw-r--r-- | Lib/http/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py index 70625699b9..24feae8e3e 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -599,7 +599,7 @@ class HTTPResponse(io.RawIOBase): break except ValueError: raise IncompleteRead(bytes(b[0:total_bytes])) - + if len(mvb) < chunk_left: n = self._safe_readinto(mvb) self.chunk_left = chunk_left - n |