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!

Why would they have both Agent (1.1) and HTTPClient (1.0) as built-in HTTP
Client modules? The latter should be removed.

Sha


On Mon, Jan 27, 2014 at 11:12 AM, Laurens Van Houtven <[email protected]> wrote:

> Hi Sha,
>
>
> 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.
>
> hth
> lvh
>
> _______________________________________________
> Twisted-web mailing list
> [email protected]
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
>
>
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to