From 70e98e47cfd9c14dc967fdbfe690444166ff172e Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 21 Jan 2012 17:48:51 -0500 Subject: [PATCH] No encoding? r.text is None. --- requests/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests/models.py b/requests/models.py index 4ef45da..be69213 100644 --- 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: -- 2.34.1