On 26Jun2009 09:34, cgoldberg <cgoldb...@gmail.com> wrote:
| > Is there any module in python to open https
| > sites through a proxy.
| 
| yes, you can use "urllib2".
| 
| from the urllib2 docs:
| "The default is to read the list of proxies from the environment
| variables"
| 
| So if you have a proxy setup, it should detect it from your
| environment vars.  If you want to specify something different, you
| want to build an opener with a ProxyHandler:
| 
| http://docs.python.org/library/urllib2.html#urllib2.ProxyHandler

Except that HTTPS through a proxy doesn't work:
  http://bugs.python.org/issue1424152

There's a patch under review.
-- 
Cameron Simpson <c...@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to