[New-bugs-announce] [issue10906] wsgiref should mention that CGI scripts usually expect HTTPS variable to be set to 'on'
report at bugs.python.org
Fri Jan 14 15:14:36 CET 2011
New submission from anatoly techtonik <techtonik at gmail.com>:
The documentation says servers typically set HTTPS variable to a value of “1” or “yes”, when a request is received via SSL, but CGI tutorials, IIS and Apache set this to “on”.
Misleading documentation may be the reason of the bug with mod_wsgi that changes Apache's variable from “on” to “1” - https://issues.apache.org/bugzilla/show_bug.cgi?id=50581
The documentation should at least stress that “on” is the mainstream value for this variable. It will help to mention at least one popular server that returns “1”.
assignee: docs at python
nosy: docs at python, techtonik
title: wsgiref should mention that CGI scripts usually expect HTTPS variable to be set to 'on'
versions: Python 3.2
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce