[tor-bugs] #7530 [Ooni]: Implement HTTP Requests test helper with Headers

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 20 11:15:59 UTC 2012


#7530: Implement HTTP Requests test helper with Headers
--------------------------------+-------------------------------------------
 Reporter:  hellais             |          Owner:  hellais
     Type:  enhancement         |         Status:  new    
 Priority:  normal              |      Milestone:         
Component:  Ooni                |        Version:         
 Keywords:  oonib_test_helpers  |         Parent:         
   Points:                      |   Actualpoints:         
--------------------------------+-------------------------------------------
 Current the test helper in oonib/testhelpers/http_helpers.py does some
 mangling of the HTTP headers it receives leading it to not returning in
 the payload of the response the proper capitalization of the requests.

 We should use as base the modified Headers() that was implement for Agent
 and use this with a twisted based HTTP server.

 Such HTTP Server must get the list of HTTP headers that a client sends to
 it and return it in the response payload as a JSON encoded string.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7530>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list