summaryrefslogtreecommitdiff
path: root/webtest
diff options
context:
space:
mode:
authorAlexis Métaireau <alexis@notmyidea.org>2013-07-15 18:57:07 +0200
committerAlexis Métaireau <alexis@notmyidea.org>2013-08-05 10:44:42 +0200
commitc6cd7176ecad6ae6c956b3168bc4ec2b2ed06680 (patch)
treedb00361ced7be256d36490ca850a7892b9597608 /webtest
parent61b344b05653c32dea8b99e833098565f20579ed (diff)
downloadwebtest-c6cd7176ecad6ae6c956b3168bc4ec2b2ed06680.tar.gz
Decode the content before returning it
Diffstat (limited to 'webtest')
-rw-r--r--webtest/response.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/webtest/response.py b/webtest/response.py
index f6027fd..7d1918f 100644
--- a/webtest/response.py
+++ b/webtest/response.py
@@ -61,6 +61,7 @@ class TestResponse(webob.Response):
@property
def testbody(self):
+ self.decode_content()
if self.charset:
try:
return self.text