Monday, April 28, 2008

secure django+jetty+jython

UPDATE: since this is now 2 years old, and one of my key links is broken i've written a quick update here: http://tristanking.blogspot.com/2010/01/re-jettydjangojython.html

Today I enabled a ssl connector in jetty to run my django app securely. I then spent most of the day trying to figure out why HttpResponseRedirect's didn't work.

Turns out all I had to do was implement is_secure in my django handler.

updated servlet.py can be viewed here

0 comments: