diff options
-rw-r--r-- | Lib/urllib2.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Lib/urllib2.py b/Lib/urllib2.py index 8d38749..c525f8c 100644 --- a/Lib/urllib2.py +++ b/Lib/urllib2.py @@ -714,7 +714,7 @@ class AbstractBasicAuthHandler: # XXX could be multiple headers authreq = headers.get(authreq, None) if authreq: - mo = AbstractBasicAuthHandler.rx.match(authreq) + mo = AbstractBasicAuthHandler.rx.search(authreq) if mo: scheme, realm = mo.groups() if scheme.lower() == 'basic': @@ -72,6 +72,9 @@ Extension modules Library ------- +- urllib2 now recognizes Basic authentication even if other authentication + schemes are offered. + - Bug #1001053. wave.open() now accepts unicode filenames. - gzip.GzipFile has a new fileno() method, to retrieve the handle of the |