[issue16095] urllib2 failing with squid proxy and digest authentication

2014-07-02 Thread Pietro Battiston
Pietro Battiston added the comment: The bug is still present in 2.7.7 and 3.4.1. By the way, under python 3 the workaround takes the form class MyHTTPPasswordMgr(urllib.request.HTTPPasswordMgr): def find_user_password(self, realm, authuri): return a, b Finally, notice the wrong

[issue16095] urllib2 failing with squid proxy and digest authentication

2012-09-30 Thread Pietro Battiston
New submission from Pietro Battiston: If you run the following code: #! /usr/bin/python import urllib2 MyHTTPPasswordMgr = urllib2.HTTPPasswordMgr proxy = urllib2.ProxyHandler({'http': 'http://proxybiblio2.si.unimib.it:8080'}) auth = urllib2.ProxyDigestAuthHandler(MyHTTPPasswordMgr

[issue16095] urllib2 failing with squid proxy and digest authentication

2012-09-30 Thread Pietro Battiston
Changes by Pietro Battiston m...@pietrobattiston.it: -- versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16095 ___ ___ Python