projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b652f7
)
#539
author
Kenneth Reitz
<me@kennethreitz.com>
Wed, 11 Apr 2012 02:00:25 +0000
(23:00 -0300)
committer
Kenneth Reitz
<me@kennethreitz.com>
Wed, 11 Apr 2012 02:00:25 +0000
(23:00 -0300)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index 792eef5eae312315c4eaad98c557d8e862ab80e4..e117cb0bdc7755cc6fb3a31a0af903de378748e9 100644
(file)
--- 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=1
0 * 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