Poster doesn't support HTTPS proxy.

Issue #12 new
Anonymous created an issue

I used a urllib2 patched with to support HTTPS proxy. But when I register the streaming http handlers with urllib2, the lib doesn't use anymore the HTTPS proxy.

Comments (1)

  1. Anonymous

    More precisely, my test failed when I used the register_openers function. Then I tried urllib2.build_opener function with StreamingHTTPSHandler as a param like this:

    proxyhandler = urllib2.ProxyHandler({"https" : 'https://XX.XX.XX.XX:3128'})
    streaminghandler = poster.streaminghttp.StreamingHTTPSHandler()
    opener = urllib2.build_opener(proxyhandler, streaminghandler ,...)

    and my test run well.

  2. Log in to comment