[docs] [issue10906] wsgiref should mention that CGI scripts usually expect HTTPS variable to be set to 'on'

anatoly techtonik report at bugs.python.org
Thu Jan 20 23:08:29 CET 2011

anatoly techtonik <techtonik at gmail.com> added the comment:

The problem that most scripts check for 'on', and not for '1'.


More than that - I don't know any servers that set this to '1', except mod_wsgi, and perhaps other implementations that follow this wsgiref. mod_wsgi even changes value of Apache2 environment to '1'

For existing CGI scripts (that rely on HTTPS parameter being 'on') and that are ported to WSGI, this creates additional issues with HTTPS, and wastes people time.

status: closed -> open

Python tracker <report at bugs.python.org>

More information about the docs mailing list