Table of Contents

Class: FCGIRecord Zope-2.2.1-src/ZServer/FCGIServer.py

This class represents the various record structures used in the FastCGI protocol. It knows how to read and build itself bits at a time as they are read from the FCGIChannel. There are really several different record types but in this case subclassing for each type is probably overkill.

See the FastCGI spec for structure and other details for all these record types.

Methods   
__init__
getRecordAsString
gotPadding
needContent
needMore
needPadding
parseContent
readPair
writePair
  __init__ 
__init__ ( self,  header=None )

  getRecordAsString 
getRecordAsString ( self )

Format the record to be sent back to the web server.

  gotPadding 
gotPadding ( self )

  needContent 
needContent ( self )

  needMore 
needMore ( self )

  needPadding 
needPadding ( self )

  parseContent 
parseContent ( self,  data )

  readPair 
readPair (
        self,
        st,
        pos,
        )

Read the next name-value pair from st at pos.

  writePair 
writePair ( name,  value )

Opposite of readPair


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6