[tor-commits] [ooni-probe/develop] Uniform transparent_http_proxy keys in report
isis at torproject.org
isis at torproject.org
Thu Jun 6 16:41:36 UTC 2013
commit 0c49af0fef382cef3dfa8da5b3288f526d5b40bb
Author: Arturo Filastò <art at fuffa.org>
Date: Tue Feb 26 17:57:55 2013 +0100
Uniform transparent_http_proxy keys in report
---
nettests/manipulation/http_host.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/nettests/manipulation/http_host.py b/nettests/manipulation/http_host.py
index 38b0fff..d95d836 100644
--- a/nettests/manipulation/http_host.py
+++ b/nettests/manipulation/http_host.py
@@ -121,7 +121,7 @@ class HTTPHost(httpt.HTTPTest):
content = json.loads(body)
except:
log.msg("The json does not parse, this is not what we expected")
- self.report['trans_http_proxy'] = True
+ self.report['transparent_http_proxy'] = True
self.check_for_censorship(body)
return
@@ -132,10 +132,10 @@ class HTTPHost(httpt.HTTPTest):
'request_line' in content and \
'headers_dict' in content:
log.msg("Found the keys I expected in %s" % content)
- self.report['trans_http_proxy'] = False
+ self.report['transparent_http_proxy'] = False
self.report['censored'] = False
else:
log.msg("Did not find the keys I expected in %s" % content)
- self.report['trans_http_proxy'] = True
+ self.report['transparent_http_proxy'] = True
self.check_for_censorship(body)
More information about the tor-commits
mailing list