diff options
| author | Alexis Métaireau <alexis@notmyidea.org> | 2013-07-15 18:57:07 +0200 |
|---|---|---|
| committer | Alexis Métaireau <alexis@notmyidea.org> | 2013-08-05 10:44:42 +0200 |
| commit | c6cd7176ecad6ae6c956b3168bc4ec2b2ed06680 (patch) | |
| tree | db00361ced7be256d36490ca850a7892b9597608 /webtest | |
| parent | 61b344b05653c32dea8b99e833098565f20579ed (diff) | |
| download | webtest-c6cd7176ecad6ae6c956b3168bc4ec2b2ed06680.tar.gz | |
Decode the content before returning it
Diffstat (limited to 'webtest')
| -rw-r--r-- | webtest/response.py | 1 |
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 |
