[tor-commits] [ooni-probe/master] Update http_header_field_manipulation.py

isis at torproject.org isis at torproject.org
Sun Mar 10 01:57:02 UTC 2013


commit 5f585c26a26be84b02bc85038b75bbcdf0cf12bb
Author: samsmith <github.com at msmith.net>
Date:   Thu Mar 7 11:22:38 2013 +0000

    Update http_header_field_manipulation.py
    
    correct the (inverted) test description (and rewrite to be clearer)
---
 .../manipulation/http_header_field_manipulation.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/nettests/manipulation/http_header_field_manipulation.py b/nettests/manipulation/http_header_field_manipulation.py
index c831814..509f4ef 100644
--- a/nettests/manipulation/http_header_field_manipulation.py
+++ b/nettests/manipulation/http_header_field_manipulation.py
@@ -38,8 +38,8 @@ class UsageOptions(usage.Options):
 class HTTPHeaderFieldManipulation(httpt.HTTPTest):
     """
     It performes HTTP requests with request headers that vary capitalization
-    towards a backend. If we detect that the headers the backend received
-    matches the ones we have sent then we have detected tampering.
+    towards a backend. If the headers reported by the server differ from
+    the ones we sent, then we have detected tampering.
     """
     name = "HTTP Header Field Manipulation"
     author = "Arturo Filastò"





More information about the tor-commits mailing list