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:
a3fb5ac
)
No encoding? r.text is None.
author
Kenneth Reitz
<me@kennethreitz.com>
Sat, 21 Jan 2012 22:48:51 +0000
(17:48 -0500)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sat, 21 Jan 2012 22:48:51 +0000
(17:48 -0500)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index
4ef45da
..
be69213
100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-720,7
+720,7
@@
class Response(object):
"""Content of the response, in unicode."""
# Try charset from content-type
- content =
u''
+ content =
None
if self.encoding:
try: