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 Alex.Leon
Recipients Alex.Leon, ezio.melotti, orsenthil, petri.lehtinen, r.david.murray
Date 2011-08-10.06:12:06
SpamBayes Score 0.0020813192
Marked as misclassified No
Message-id <1312956727.3.0.724015016748.issue12541@psf.upfronthosting.co.za>
In-reply-to
Content
It could have a 2 phase regex match. We match the first one, and if it fails, match the second and produce a warning. 

I think producing a warning is a good idea, as it allows the programmer to know that the implementation of basic auth they are trying to connect to is broken, and might help with future connection attempts. Also there are currently no warnings produced by python if it fails to parse the auth header, and its hard for a developer to know why.
History
Date User Action Args
2011-08-10 06:12:07Alex.Leonsetrecipients: + Alex.Leon, orsenthil, ezio.melotti, r.david.murray, petri.lehtinen
2011-08-10 06:12:07Alex.Leonsetmessageid: <1312956727.3.0.724015016748.issue12541@psf.upfronthosting.co.za>
2011-08-10 06:12:06Alex.Leonlinkissue12541 messages
2011-08-10 06:12:06Alex.Leoncreate