Update of /cvsroot/python/python/dist/src/Lib In directory usw-pr-cvs1:/tmp/cvs-serv20310/Lib Modified Files: urllib2.py Log Message: SF #614596, fix for urllib2.AbstractBasicAuthHandler, John Williams (johnw42) Make the regex case insensitive for some web sites which use Realm. Index: urllib2.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/urllib2.py,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** urllib2.py 13 Aug 2002 13:59:55 -0000 1.34 --- urllib2.py 9 Oct 2002 23:17:04 -0000 1.35 *************** *** 573,577 **** class AbstractBasicAuthHandler: ! rx = re.compile('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"') # XXX there can actually be multiple auth-schemes in a --- 573,577 ---- class AbstractBasicAuthHandler: ! rx = re.compile('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"', re.I) # XXX there can actually be multiple auth-schemes in a
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4