t.w.t.CGIScript(resource.Resource) : class documentation

Part of twisted.web.twcgi View Source View In Hierarchy

Known subclasses: twisted.web.twcgi.FilteredScript

I represent a CGI script.

My implementation is complex due to the fact that it requires asynchronous IPC with an external process with an unpleasant protocol.
Method __init__ Initialize, with the name of a CGI script file.
Method render Do various things to conform to the CGI specification.
Method runProcess Undocumented

Inherited from Resource:

Method listStaticNames Undocumented
Method listStaticEntities Undocumented
Method listNames Undocumented
Method listEntities Undocumented
Method listDynamicNames Undocumented
Method listDynamicEntities Undocumented
Method getStaticEntity Undocumented
Method getDynamicEntity Undocumented
Method delEntity Undocumented
Method reallyPutEntity Undocumented
Method getChild Retrieve a 'child' resource from me.
Method getChildWithDefault Retrieve a static or dynamically generated child resource from me.
Method getChildForRequest Undocumented
Method putChild Register a static child.
Method render_HEAD Default handling of HEAD method.
def __init__(self, filename, registry=None): (source)
Initialize, with the name of a CGI script file.
def render(self, request): (source)

Do various things to conform to the CGI specification.

I will set up the usual slew of environment variables, then spin off a process.
def runProcess(self, env, request, qargs=): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2011-10-27 15:57:47.