#539
authorKenneth Reitz <me@kennethreitz.com>
Wed, 11 Apr 2012 02:00:25 +0000 (23:00 -0300)
committerKenneth Reitz <me@kennethreitz.com>
Wed, 11 Apr 2012 02:00:25 +0000 (23:00 -0300)
requests/models.py

index 792eef5eae312315c4eaad98c557d8e862ab80e4..e117cb0bdc7755cc6fb3a31a0af903de378748e9 100644 (file)
@@ -680,7 +680,7 @@ class Response(object):
             return False
         return True
 
-    def iter_content(self, chunk_size=10 * 1024, decode_unicode=False):
+    def iter_content(self, chunk_size=1, decode_unicode=False):
         """Iterates over the response data.  This avoids reading the content
         at once into memory for large responses.  The chunk size is the number
         of bytes it should read into memory.  This is not necessarily the