Run CGI/FastCGI in an event-driven loop
If the fcgiapp module is available and sys.stdin is a socket, this
command will listen for FastCGI connections and process them as they
arrive. Otherwise, it will assume that it is being run as a CGI, and
use its environment attributes as the environment for the CGI command.
Note that if running in CGI mode, CGICommand will exit immediately
upon completion of the request, without running an event loop at all.
To use this class, you must define the value of cgiCommand , which must
be an IRerunnableCGI .
Methods
|
|
_run
isFastCGI
|
|
_run
|
_run ( self )
|
|
isFastCGI
|
isFastCGI ( self )
Check for fcgiapp and whether sys.stdin is a listener socket
|
|