[Python-Dev] urllib2.HTTPBasicAuthHandler doesn't work with GitHub API (original) (raw)
Senthil Kumaran senthil at uthcode.com
Mon Nov 4 15:51:27 CET 2013
- Previous message: [Python-Dev] urllib2.HTTPBasicAuthHandler doesn't work with GitHub API
- Next message: [Python-Dev] urllib2.HTTPBasicAuthHandler doesn't work with GitHub API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Nov 4, 2013 at 6:11 AM, Matěj Cepl <mcepl at redhat.com> wrote:
I am not sure how widespread is this breaking of RFC, but it seems to me that quite a lot (e.g., http://stackoverflow.com/a/9698319/164233 which just en passant expects urllib2 authentication stuff to be useless), and the question is whether it shouldn't be documented somehow and/or urllib2.HTTPBasicAuthHandler shouldn't be modified to try add Authenticate header first.
Any suggestions?
Please file a bug report at bugs.python.org stating this. urllib2 tries to follow the RFC as much as possible, but ofcourse consider's de-facto standards and adopts to it. This can be documented for 2.x and can be 'fixed in 3.4.
HTH, Senthil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20131104/d2d6f955/attachment.html>
- Previous message: [Python-Dev] urllib2.HTTPBasicAuthHandler doesn't work with GitHub API
- Next message: [Python-Dev] urllib2.HTTPBasicAuthHandler doesn't work with GitHub API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]