Hello everyone!
What is SERVER_PORT supposed to be set to if the WSGI server is only
bound to a Unix socket?
Some major Web servers (Gunicorn, CherryPy) set it to the empty string.
Intuitively I'd rather not set it at all.
What do you guys recommend?
btw, www.wsgi.org != wsgi.org. That's v
I'm sure you've read this:
http://www.python.org/dev/peps/pep-0333/#environ-variables
The following variables must be present, unless their value would be
an empty string, in which case they may be omitted, except as
otherwise noted below.
<...snip...>
SERVER_NAME, SERVER_PORT