<div class="gmail_quote">On Mon, Jan 11, 2010 at 7:33 AM, Gabriel Rossetti <span dir="ltr"><<a href="mailto:gabriel.rossetti@arimaz.com">gabriel.rossetti@arimaz.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello everyone,<br>
<br>
Is it possible to use a proxy with Twisted? I can do this with urllib2 :<br>
<br>
proxy = urllib2.ProxyHandler({"http": "<a href="http://my.proxy.com:8080" target="_blank">http://my.proxy.com:8080</a>"})<br>
opener = urllib2.build_opener(proxy)<br>
urllib2.install_opener(opener)<br>
<br>
will that suffice? I'd need SOCKSv5 and HTTP proxy support.<br>
<br>
Thanks,<br>
Gabriel<br>
<br></blockquote></div><br>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?<br>
<br>Kevin Horn<br>