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.ProxyDigestAuthHandl
Changes by Pietro Battiston :
--
versions: +Python 3.2
___
Python tracker
<http://bugs.python.org/issue16095>
___
___
Python-bugs-list mailing list
Unsubscribe:
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"