urllib2, https, and proxies

Discussion in 'Python' started by Fuzzyman, Jun 29, 2005.

  1. Fuzzyman

    Fuzzyman Guest

    Hello all (well, some of you I guess),

    Is it true that you can't configure a proxy handler for urllib2 to
    fetch https URLs through a proxy ?

    I know that you pass a dictionary, keyed by protocol, to the proxy
    handler - but when we get an exception when we fetch an https URL.

    Fetching the same URL, through the same proxy, with a browser works
    fine.

    Sorry I can't post code and a traceback - can do that tomorrow if
    necessary.

    Best Regards,

    Fuzzy
    http://www.voidspace.org.uk/python
    Fuzzyman, Jun 29, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tomazi75-nospam(at)gmail.com

    urllib2 and proxies support ?

    tomazi75-nospam(at)gmail.com, Jan 4, 2006, in forum: Python
    Replies:
    1
    Views:
    367
  2. Replies:
    0
    Views:
    776
  3. Astan Chee

    urllib2, proxies and https

    Astan Chee, Aug 18, 2006, in forum: Python
    Replies:
    1
    Views:
    402
    John J. Lee
    Aug 20, 2006
  4. Mani Ghasemlou

    urllib2, proxies, and pac files on OS X

    Mani Ghasemlou, Mar 30, 2009, in forum: Python
    Replies:
    0
    Views:
    308
    Mani Ghasemlou
    Mar 30, 2009
  5. tvashtar
    Replies:
    17
    Views:
    959
Loading...

Share This Page