projects
/
platform
/
upstream
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0228851
)
Chardet -> charade.
author
Cory Benfield
<lukasaoz@gmail.com>
Fri, 1 Nov 2013 09:20:22 +0000
(09:20 +0000)
committer
Cory Benfield
<lukasaoz@gmail.com>
Fri, 1 Nov 2013 09:20:22 +0000
(09:20 +0000)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index
a67868e
..
2a5531e
100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-648,8
+648,8
@@
class Response(object):
def text(self):
"""Content of the response, in unicode.
- if Response.encoding is None
and chardet module is available, encod
ing
-
will be guessed
.
+ if Response.encoding is None
, encoding will be guessed us
ing
+
``charade``
.
"""
# Try charset from content-type