SSL (HTTPS) with 2.4
"Martin v. Löwis"
martin at v.loewis.de
Wed May 18 01:38:25 EDT 2005
Bloke wrote:
> Some time ago (years) I had a script on Python 2.2 that would retieve a
> HTTPS web site. I used python22-win32-ssl.zip to handle the SSL aspect
> and it worked wonderfully. I am revisiting the project and need to
> update it to Python 2.4.1. python22-win32-ssl.zip isn't compatable
> (duh) and I can't find a newer version. I have had a search and can't
> find anything to point me in the right direction.
>
> Can someone please help?
In Python 2.4, you don't need any additional libraries to do SSL on
the HTTP client side - Python 2.4 comes with SSL included (IIRC, you
didn't need these libraries in Python 2.2, either).
Just use httplib.HTTPS or httplib.HTTPSConnection instead.
Regards,
Martin
More information about the Python-list
mailing list