SSL security authorization?
John J. Lee
jjl at pobox.com
Tue Oct 21 13:56:05 CEST 2003
pythonguy at Hotpop.com (Anand Pillai) writes:
> I tried your patch on a website with SSL auth and it did not work.
> Can you give me an example of how to do this using urllib?
Again untested (and note the comment from Martin von Loewis in one of
the SF bugs I mentioned in my earlier post in this thread -- sounds
like he's not entirely confident the existing code is actually
opener = urllib.URLOpener(key_file="/path/to/my_key_file",
response = opener.open(url) # GET
response = opener.open(url, data) # POST
More information about the Python-list