[issue19494] urllib2.HTTPBasicAuthHandler (or urllib.request.HTTPBasicAuthHandler) doesn't work with GitHub API v3 and similar

Matej Cepl report at bugs.python.org
Mon Aug 11 20:35:49 CEST 2014


Matej Cepl added the comment:

> But that introduces a new element of the API, which is an API change.  I thought the plan was to change the existing code to always send the auth when it was available.

Well, it seems to me a little bit suspicious that with changing the current handler, there would be suddenly for many websites just one request instead of previous two, so that we would have changed behavior of the program without programmers knowing.

Anyway, either direction is OK with me, I just thought this is more honest.

----------

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


More information about the Python-bugs-list mailing list