HTTPS requires either python2.6+ or curl_httpclient
First of all, I really like your product because it is Jetty for Python. Awesome!
I have your latest git repository, commit 495b39ce7bc7400f0cc385fce7dba64a8176f209
I use Python 3.2.
On an unrelated note, I'm very happy with the byte to string fix you did on auth.py =) It works well on Windows and Ubuntu.
However, when I run your authdemo on my micro-fedora-linux amazon cloud EC2 machine
python3.2 authdemo.py
I get the following error:
[I 110701 03:22:11 web:1306] 302 GET / (
Maybe I'm smoking crack?
You need the ssl module, which has been part of the standard library since 2.6. If that's not working, there's something wrong with your installation of python (python will disable certain modules if something goes wrong while building them). If you built python yourself, make sure you have openssl (and its header files, etc) installed while you build it.
Thanks!
I was missing
sudo yum install openssl-devel
This is my new Python 3.2 install recipe
#fedora yum yum list installed | grep ssl sudo yum install openssl sudo yum install openssl-devel sudo yum install zlib sudo yum install zlib-devel sudo yum groupinstall "Development Tools" wget http://www.python.org/ftp/python/3.2/Python-3.2.tgz && tar -xvf Python-3.2.tgz cd Python-3.2/ ./configure -with-zlib=/usr/include -with-ssl make sudo make altinstall