New submission from anatoly techtonik <techto...@gmail.com>:

http://docs.python.org/library/wsgiref.html#wsgiref.util.guess_scheme

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@python
components: Documentation
messages: 126263
nosy: docs@python, techtonik
priority: normal
severity: normal
status: open
title: wsgiref should mention that CGI scripts usually expect HTTPS variable to 
be set to 'on'
versions: Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10906>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to