[tor-commits] [ooni-probe/master] hotfix: remove unneeded calls for check_for_censorship in http_host test
art at torproject.org
art at torproject.org
Fri Apr 29 09:42:25 UTC 2016
commit 7405cacf858399ac7a18bc228cf8662c62a347cf
Author: Arturo Filastò <arturo at filasto.net>
Date: Thu Mar 17 21:00:27 2016 +0100
hotfix: remove unneeded calls for check_for_censorship in http_host test
---
ooni/nettests/manipulation/http_host.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/ooni/nettests/manipulation/http_host.py b/ooni/nettests/manipulation/http_host.py
index d0387cb..cab4d47 100644
--- a/ooni/nettests/manipulation/http_host.py
+++ b/ooni/nettests/manipulation/http_host.py
@@ -68,14 +68,12 @@ class HTTPHost(httpt.HTTPTest):
if not body.startswith("{"):
log.msg("This does not appear to be JSON")
self.report['transparent_http_proxy'] = True
- self.check_for_censorship(body)
return
try:
content = json.loads(body)
except:
log.msg("The json does not parse, this is not what we expected")
self.report['transparent_http_proxy'] = True
- self.check_for_censorship(body)
return
# We base the determination of the presence of a transparent HTTP
More information about the tor-commits
mailing list