We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4559a5e commit 1ef9b5aCopy full SHA for 1ef9b5a
Lib/http/client.py
@@ -655,7 +655,7 @@ def _safe_read(self, amt):
655
# This is a geometric increase in read size (never more than
656
# doubling out the current length of data per loop iteration).
657
delta = min(cursize, amt - cursize)
658
- data += self.fp.read(cursize)
+ data += self.fp.read(delta)
659
cursize += delta
660
return data
661
0 commit comments