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.

classification
Title: fix for urllib2.AbstractBasicAuthHandler
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
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.

Files
File name Uploaded Description Edit
urllib2.patch johnw42, 2002-09-25 19:58 patch for urllib2.py
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 (www.lexis.com) has a "Realm=" field in the
www-authenticate header, causing the current version to
fail.
msg41239 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2002-10-08 23:04
Logged In: YES 
user_id=33168

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 
user_id=31392

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

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