[Twisted-web] How to write an HTTP1.1 Proxy using Twisted?

Laurens Van Houtven _ at lvh.io
Mon Jan 27 12:30:25 MST 2014


On Mon, Jan 27, 2014 at 8:23 PM, Sha Hua <huasha1985 at gmail.com> wrote:

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

Backwards compatibilty. Tons of code uses HTTPChannel, including the proxy
code you're using. It'd be great if it could be deprecated, but it'll take
a while before that's done.

Hopefully your contribution of HTTP proxy code using Agent to twisted will
help this process forward ;)

hth
lvh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-web/attachments/20140127/ded8d2a3/attachment.html>


More information about the Twisted-web mailing list