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:
f99a253
)
don't let that happen...
author
Kenneth Reitz
<me@kennethreitz.com>
Mon, 23 Jan 2012 07:19:56 +0000
(
02:19
-0500)
committer
Kenneth Reitz
<me@kennethreitz.com>
Mon, 23 Jan 2012 07:19:56 +0000
(
02:19
-0500)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index
c954026
..
c200896
100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-783,8
+783,6
@@
class Response(object):
except (UnicodeError, TypeError):
pass
- if not content:
- content = str(content, encoding, errors='replace')
return content