[Twisted-Python] HTTP Proxy client?

Jack Moffitt jack at chesspark.com
Thu Apr 9 19:47:20 EDT 2009


> Is there any way to make twisted.web.client talk through an HTTP proxy?
>
> I don't know enough about http to know if its as simple as opening the
> connection to the proxy and just including the full URL in the GET line?

I would expect that twisted.web.proxy.ProxyClient does what you want.
You can read about it here:

http://twistedmatrix.com/documents/current/api/twisted.web.proxy.html

I just recently made use of the ReverseProxy parts, and they worked well.

jack.




More information about the Twisted-Python mailing list