Currently HTTPRequest only checks whether the HTTPS environment variable has a value of 'on', but other possible positive values are '1' (as set by mod_wsgi) and 'yes'. I have included a patch that fixes this. Hamish Lawson --- /Users/Hamish/Desktop/Quixote-2.6/quixote/http_request.py +++ http_request.py.new @@ -155,7 +155,7 @@ # sets this environment variable to "0" for non-SSL requests # (most web servers -- well, Apache at least -- simply don't set # it in that case). - if (environ.get('HTTPS', 'off').lower() == 'on' or + if (environ.get('HTTPS', 'off').lower() in ('on', 'yes', '1') or environ.get('SERVER_PORT_SECURE', '0') != '0'): self.scheme = "https" else: