diff --git a/Lib/http/client.py b/Lib/http/client.py index 70625699b9e..24feae8e3e0 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -599,7 +599,7 @@ def _readinto_chunked(self, b): 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