On Mon, Jan 11, 2010 at 7:33 AM, Gabriel Rossetti <
gabriel.rosse...@arimaz.com> wrote:

> Hello everyone,
>
> Is it possible to use a proxy with Twisted? I can do this with urllib2 :
>
> proxy = urllib2.ProxyHandler({"http": "http://my.proxy.com:8080"})
> opener = urllib2.build_opener(proxy)
> urllib2.install_opener(opener)
>
> will that suffice? I'd need SOCKSv5 and HTTP proxy support.
>
> Thanks,
> Gabriel
>
>
When you say you want to "use a proxy with Twisted", do you mean that you
want Your Twisted applicatino to provide a proxy to other applications, or
do you mean that you want your Twisted application to use a (separate)
proxy?

Kevin Horn
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to