This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mcepl
Recipients mcepl
Date 2014-02-11.00:15:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392077723.87.0.195579608935.issue19494@psf.upfronthosting.co.za>
In-reply-to
Content
This is the suggested patch for this issue. Just adding new http_request method of HTTPBasicAuthHandler which adds Authorization header to the initial request.

Patch is now just for python 2.7, but it may be trivially ported to any other version of Python as it uses just normal urllib2 methods.

No HG repo, just the git one at http://luther.ceplovi.cz/git/cpython.git/commit/?id=basicAuth19494 (that's branch basicAuth19494).
History
Date User Action Args
2014-02-11 00:15:24mceplsetrecipients: + mcepl
2014-02-11 00:15:23mceplsetmessageid: <1392077723.87.0.195579608935.issue19494@psf.upfronthosting.co.za>
2014-02-11 00:15:23mcepllinkissue19494 messages
2014-02-11 00:15:23mceplcreate