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:
16ba63c
)
Decrease default line length for iter_lines
author
Cory Benfield
<lukasaoz@gmail.com>
Mon, 21 Jan 2013 21:15:04 +0000
(21:15 +0000)
committer
Cory Benfield
<lukasaoz@gmail.com>
Mon, 21 Jan 2013 21:15:04 +0000
(21:15 +0000)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index
5202e6f
..
bbef7ad
100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-29,7
+29,7
@@
from .compat import (
REDIRECT_STATI = (codes.moved, codes.found, codes.other, codes.temporary_moved)
CONTENT_CHUNK_SIZE = 10 * 1024
-ITER_CHUNK_SIZE =
10 * 1024
+ITER_CHUNK_SIZE =
512
log = logging.getLogger(__name__)
@@
-121,7
+121,7
@@
class RequestEncodingMixin(object):
fp = StringIO(fp)
if isinstance(fp, bytes):
fp = BytesIO(fp)
-
+
if ft:
new_v = (fn, fp.read(), ft)
else: