[tor-commits] [ooni-probe/master] Indicate whether Tor was used in a request or not in the report.

art at torproject.org art at torproject.org
Sat Nov 23 11:11:41 UTC 2013


commit d766cf68fcc720b6d0bce900883fc3610b41026b
Author: aagbsn <aagbsn at extc.org>
Date:   Fri Nov 22 13:44:32 2013 +0000

    Indicate whether Tor was used in a request or not in the report.
---
 ooni/templates/httpt.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ooni/templates/httpt.py b/ooni/templates/httpt.py
index b6272e9..04c0708 100644
--- a/ooni/templates/httpt.py
+++ b/ooni/templates/httpt.py
@@ -126,7 +126,8 @@ class HTTPTest(NetTestCase):
                 'headers': list(request_headers.getAllRawHeaders()),
                 'body': request['body'],
                 'url': request['url'],
-                'method': request['method']
+                'method': request['method'],
+                'tor': request['tor']
             }
         }
         if response:





More information about the tor-commits mailing list