Kevin Horn wrote: > On Mon, Jan 11, 2010 at 7:33 AM, Gabriel Rossetti > <gabriel.rosse...@arimaz.com <mailto: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 > I mean have the Twisted app (client) connect to a server outside the network by going through an http proxy server, like it's often the caser in company networks.
Gabriel _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python