diff options
Diffstat (limited to 'urllib3/response.py')
-rw-r--r-- | urllib3/response.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urllib3/response.py b/urllib3/response.py index 24400b38..191dc558 100644 --- a/urllib3/response.py +++ b/urllib3/response.py @@ -401,7 +401,7 @@ class HTTPResponse(io.IOBase): except ValueError: # Invalid chunked protocol response, abort. self.close() - raise httplib.IncompleteRead(''.join(line)) + raise httplib.IncompleteRead(line) def _handle_chunk(self, amt): returned_chunk = None |