<div dir="ltr">Thanks. Yes. I am just planning to replace the HTTPClient part in the Proxy implementation with Agent. Not sure if any problems may arise. Thanks!<div><br><div>Why would they have both Agent (1.1) and HTTPClient (1.0) as built-in HTTP Client modules? The latter should be removed.<br>
<div><br></div><div>Sha</div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 27, 2014 at 11:12 AM, Laurens Van Houtven <span dir="ltr"><<a href="mailto:_@lvh.io" target="_blank">_@lvh.io</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Sha,<br><br><br></div>I'm not sure about HTTPChannel, but Agent definitely supports HTTP/1.1. Supporting it shouldn't be too hard, but I don't know of any examples. Essentially, you just replace the proxy's client bits (which makes responses on behalf of the thing that's connecting to the proxy) with agent calls. I recommend just reading the code; it's what I did when I wrote lvh/minitrue.<br>


<br></div>hth<span class="HOEnZb"><font color="#888888"><br>lvh<br></font></span></div>
<br>_______________________________________________<br>
Twisted-web mailing list<br>
<a href="mailto:Twisted-web@twistedmatrix.com">Twisted-web@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web</a><br>
<br></blockquote></div><br></div>