Merge remote-tracking branch 'origin/master' into unstable

This commit is contained in:
Julien Duponchelle committed 2015-07-23 11:35:15 +02:00
commit cbc859a03b
6 files changed
+240 -21

No files matched your search

+4 -1
View File
@@ -88,7 +88,10 @@ class Query:
except ValueError:
response.json = None
else:
response.html = response.body.decode("utf-8")
try:
response.html = response.body.decode("utf-8")
except UnicodeDecodeError:
response.html = None
else:
response.json = {}
response.html = ""