Re: How to write an HTTP1.1 Proxy using Twisted?

Laurens Van Houtven <[email protected]> Mon, 27 Jan 2014 20:30:25 +0100
Newsgroups gmane.comp.python.twisted.web
Message-ID <CAE_Hg6bWVMZ+XM6Vh73uHKmH-nHKBR4nnR6re1GNrzfT3XHLOQ@mail.gmail.com>
On Mon, Jan 27, 2014 at 8:23 PM, Sha Hua <[email protected]> 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

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web