mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
fix unicode literal for python 3
This commit is contained in:
+1
-1
@@ -786,7 +786,7 @@ class Response(object):
|
||||
encoding = self.encoding
|
||||
|
||||
if not self.content:
|
||||
return u''
|
||||
return str('')
|
||||
|
||||
# Fallback to auto-detected encoding.
|
||||
if self.encoding is None:
|
||||
|
||||
Reference in New Issue
Block a user