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:
03f444e
)
Add documentation about decode_unicode.
author
Jason R. Coombs
<jaraco@jaraco.com>
Tue, 4 Mar 2014 21:27:13 +0000
(16:27 -0500)
committer
Jason R. Coombs
<jaraco@jaraco.com>
Tue, 4 Mar 2014 21:27:13 +0000
(16:27 -0500)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index cd232e68094869a68bde81c729cf2e42fb9e6039..682cd9e15b7fd9db31fdf3e76bfee6e35fa57855 100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-617,6
+617,9
@@
class Response(object):
large responses. The chunk size is the number of bytes it should
read into memory. This is not necessarily the length of each item
returned as decoding can take place.
+
+ If decode_unicode is True, content will be decoded using the best
+ available encoding based on the response.
"""
if self._content_consumed:
# simulate reading small chunks of the content