? patch Index: Lib/urllib2.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/urllib2.py,v retrieving revision 1.34 diff -u -p -r1.34 urllib2.py --- Lib/urllib2.py 13 Aug 2002 13:59:55 -0000 1.34 +++ Lib/urllib2.py 25 Sep 2002 19:54:32 -0000 @@ -572,7 +572,7 @@ class HTTPPasswordMgrWithDefaultRealm(HT class AbstractBasicAuthHandler: - rx = re.compile('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"') + rx = re.compile('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"', re.I) # XXX there can actually be multiple auth-schemes in a # www-authenticate header. should probably be a lot more careful