mirror of
https://github.com/kennethreitz/requests3.git
synced 2026-06-05 23:10:16 +00:00
No encoding? r.text is None.
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user