fcgiapp

Fast CGI Module

Description

This module provides an interface to the Fast CGI applications library, fcgiapp.

Fast CGI programs are long running programs that accept multiple request. Programs take the form:

  import fcgiapp
  while 1:
    input, output, error, environ = fcgiapp.Accept()
    # Read CGI imput from input, write output to output and error, and
    # get standard CGI environment variables from environ 
  

Module Functions

Accept()

Accept a Fast CGI Connection

The function returns the input, output, and error streams associated with the connection as well as the environment dictionary.

input, output, err, environ = Accept()

isCGI()

Is this a CGI Program


Last Modified: 12 August 1996