[Web-SIG] SERVER_PORT and Unix sockets

Jonas H. jonas at lophus.org
Mon Jan 2 15:59:33 CET 2012


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 very confusing.

Jonas


More information about the Web-SIG mailing list