Remove urllib3-specific kwargs from general code
authorCory Benfield <lukasaoz@gmail.com>
Thu, 4 Jul 2013 09:34:43 +0000 (10:34 +0100)
committerCory Benfield <lukasaoz@gmail.com>
Thu, 4 Jul 2013 09:34:43 +0000 (10:34 +0100)
requests/models.py

index 6600a91..3672b37 100644 (file)
@@ -544,7 +544,7 @@ class Response(object):
             except AttributeError:
                 # Standard file-like object.
                 while 1:
-                    chunk = self.raw.read(chunk_size, decode_content=True)
+                    chunk = self.raw.read(chunk_size)
                     if not chunk:
                         break
                     yield chunk