diff -u old/liburllib2.tex new/liburllib2.tex --- old/liburllib2.tex 2007-04-22 18:47:12.000000000 -0400 +++ new/liburllib2.tex 2007-04-22 21:34:01.000000000 -0400 @@ -817,7 +817,10 @@ import urllib2 # Create an OpenerDirector with support for Basic HTTP Authentication... auth_handler = urllib2.HTTPBasicAuthHandler() -auth_handler.add_password('realm', 'host', 'username', 'password') +auth_handler.add_password(realm = 'PDQ Application', + uri = 'https://mahler:8092/site-updates.py', + user = 'klem', + passwd = 'kadidd!ehopper') opener = urllib2.build_opener(auth_handler) # ...and install it globally so it can be used with urlopen. urllib2.install_opener(opener) diff -u old/urllib2.py new/urllib2.py --- old/urllib2.py 2007-04-22 16:34:16.000000000 -0400 +++ new/urllib2.py 2007-04-22 16:53:02.000000000 -0400 @@ -55,7 +55,10 @@ # set up authentication info authinfo = urllib2.HTTPBasicAuthHandler() -authinfo.add_password('realm', 'host', 'username', 'password') +authinfo.add_password(realm = 'PDQ Application', + uri = 'https://mahler:8092/site-updates.py', + user = 'klem', + passwd = 'geheim$parole') proxy_support = urllib2.ProxyHandler({"http" : "http://ahad-haam:3128"})