[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit d766cf68fcc720b6d0bce900883fc3610b41026b
Author: aagbsn <aagbsn@xxxxxxxx>
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:



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits