From 365c64fe3bd074ad942ae720813693e8d8cf68d3 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 10 Apr 2012 23:00:25 -0300 Subject: [PATCH] #539 --- requests/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests/models.py b/requests/models.py index 792eef5..e117cb0 100644 --- a/requests/models.py +++ b/requests/models.py @@ -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 -- 2.7.4