[tor-commits] [ooni-probe/master] [hotfix] fix _representBody with commit lost in rebase

art at torproject.org art at torproject.org
Fri Apr 29 09:42:26 UTC 2016


commit d916e0144553cc2f655c358bcf6a2fb270ae7e0e
Author: Arturo Filastò <arturo at filasto.net>
Date:   Mon Apr 11 17:10:13 2016 +0200

    [hotfix] fix _representBody with commit lost in rebase
---
 ooni/templates/httpt.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ooni/templates/httpt.py b/ooni/templates/httpt.py
index b9ca2e4..6ca486a 100644
--- a/ooni/templates/httpt.py
+++ b/ooni/templates/httpt.py
@@ -139,6 +139,7 @@ class HTTPTest(NetTestCase):
                     body = body.replace('\0', '')
                 except UnicodeDecodeError:
                     body = base64Dict(body)
+            return body
 
         log.debug("Adding %s to report" % request)
         request_headers = TrueHeaders(request['headers'])





More information about the tor-commits mailing list