Python 1.4 HTTPS support
This Secure Socket
Layer (SSL) wrapper allows accessing https://... URLs from Python.
It is a minimal SSLeay
wrapper based on this
implementation, but unlike the latter represents two standalone module
sources ssl.c and httpslib.py rather than updates to the socketmodule.c
and httplib.py. The modules are tested only for SSLeay-0.9.0b, Python
1.4, Sun Solaris 2.5.1. The SSLv2 method is used. Follow
these steps to install.
-
install Python
1.4
-
install SSLeay-0.9.0b
-
copy module sources ssl.c and httpslib.py
and the make commands file Makefile
-
update variables in the Makefile for your setup and run make;
a shared library ssl.so is created; this is the Python importable module
ssl
-
update your PYTHONPATH variable to include location of the httpslib.py
and ssl.so files
-
verify operation by running command
python httpslib.py -d