diff options
Diffstat (limited to 'Lib/http/client.py')
-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 70eadaed14..1a852cd76e 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -538,7 +538,7 @@ class HTTPResponse(io.BufferedIOBase): chunk_left = self.chunk_left if not chunk_left: # Can be 0 or None if chunk_left is not None: - # We are at the end of chunk. dicard chunk end + # We are at the end of chunk, discard chunk end self._safe_read(2) # toss the CRLF at the end of the chunk try: chunk_left = self._read_next_chunk_size() |