The fcgi module builds upon the classes defined in the cgi module to provide an implementation of the FastCGI protocol.