flup.server.scgi_base - scgi - an SCGI/WSGI gateway

class flup.server.scgi_base.BaseSCGIServer(application, scriptName=<class 'flup.server.NoDefault'>, environ=None, multithreaded=True, multiprocess=False, bindAddress=('localhost', 4000), umask=None, allowedServers=<class 'flup.server.NoDefault'>, loggingLevel=20, debug=False)
error(request)

Override to provide custom error handling. Ideally, however, all errors should be caught at the application level.

handler(request)

WSGI handler. Sets up WSGI environment, calls the application, and sends the application’s response.

requestClass

alias of Request

Previous topic

flup.server.fcgi_single - fcgi - a FastCGI/WSGI gateway (single-threaded)

Next topic

flup.server.scgi - scgi - an SCGI/WSGI gateway (threaded)

This Page