This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dieresys
Recipients dieresys, orsenthil, ronaldoussoren, tsujikawa
Date 2009-12-23.22:16:00
SpamBayes Score 0.000999257
Marked as misclassified No
Message-id <>
The patch fixes only when you pass the authentication info in the proxy
handler's URL. Like:

    proxy_handler = urllib2.ProxyHandler({'https':

But setting the authentication using a ProxyBasicAuthHandler is still

    proxy_auth_handler = urllib2.ProxyBasicAuthHandler()
    proxy_auth_handler.add_password('realm', '',
'user', 'pass')

In the attached file ( we've wrote
a comparison between what works with HTTP and HTTPS.

The problem is the 407 error never reaches the ProxyBasicAuthHandler
because HTTPConnection._tunnel raises an exception when the http
response status code is not 200.
Date User Action Args
2009-12-23 22:16:01dieresyssetrecipients: + dieresys, ronaldoussoren, orsenthil, tsujikawa
2009-12-23 22:16:01dieresyssetmessageid: <>
2009-12-23 22:16:00dieresyslinkissue7291 messages
2009-12-23 22:16:00dieresyscreate