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.

Title: fix for urllib2.AbstractBasicAuthHandler
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: jhylton, johnw42, nnorwitz
Priority: normal Keywords: patch

Created on 2002-09-25 19:58 by johnw42, last changed 2022-04-10 16:05 by admin. This issue is now closed.

File name Uploaded Description Edit
urllib2.patch johnw42, 2002-09-25 19:58 patch for
Messages (4)
msg41238 - (view) Author: John Williams (johnw42) Date: 2002-09-25 19:58
This one-line patch fixes the authentication in urllib2
by making a regex case-insensitive. I don't know if
this is "correct" HTTP behavior, but at last one web
site ( has a "Realm=" field in the
www-authenticate header, causing the current version to
msg41239 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2002-10-08 23:04
Logged In: YES 

Assigning to Jeremy, if this is correct, I can check it in.
msg41240 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2002-10-09 15:19
Logged In: YES 

fine by me
msg41241 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2002-10-09 23:17
Logged In: YES 

Thanks!  Checked in as 1.35
Date User Action Args
2022-04-10 16:05:42adminsetgithub: 37220
2002-09-25 19:58:29johnw42create