[issue16095] urllib2 failing with squid proxy and digest authentication

Pietro Battiston report at bugs.python.org
Thu Jul 3 00:20:09 CEST 2014


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 behaviour of "is_suburi()" mentioned in http://bugs.python.org/msg14444 is still present (and I still suspect it has something to do with this).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16095>
_______________________________________


More information about the Python-bugs-list mailing list