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

Re: [tor-bugs] #7432 [Ooni]: Add support for sending un canonicalized HTTP headers via twisted.web.client.Agent



#7432: Add support for sending un canonicalized HTTP headers via
twisted.web.client.Agent
-------------------------------------------------+--------------------------
 Reporter:  hellais                              |          Owner:  hellais
     Type:  enhancement                          |         Status:  new    
 Priority:  major                                |      Milestone:         
Component:  Ooni                                 |        Version:         
 Keywords:  ooni_test_templates, SponsorH201208  |         Parent:  #7386  
   Points:                                       |   Actualpoints:         
-------------------------------------------------+--------------------------

Comment(by evilaliv3):

 For what i've seen this is easy to do with twisted but not so clean as
 extending this part of Twisted involves a lot of gerarchical changes.

 In fact with bottom-up order the things that are needed are:

 1) extend Headers() class with a RawHeaders() class avoiding header
 mangling.
 2) extend HTTPClientParser() class and adopt the new RawHeaders() class
 3) extend HTTP11ClientProtocol(Protocol) and instantiate the new parser
 instead of HTTPClientParser()

 i'm doing quite the same to write a rawproxy for Tor2web.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7432#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs