Open GuillaumeDerval opened 6 years ago
As already mentioned, I think the inginious-webapp
script should take an additional argument to make the protocol explicit.
Making WSGI the default is the best way; like that, the code can be imported from any python code and work as-is. Adding a cmd arg --cgi
would be enough I think.
These lines in inginious-webapp do not work properly:
Gunicorn is a WSGI server but defines
SERVER_SOFTWARE
, and a such we start the flup FCGI server.