Part of twisted.web2.twcgi View Source View In Hierarchy
Known subclasses: twisted.web2.twcgi.FilteredScript
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 | http_POST | Undocumented |
Inherited from LeafResource:
Method | locateChild | Locate another object which can be adapted to IResource. |
Inherited from RenderMixin (via LeafResource):
Method | allowedMethods | |
Method | checkPreconditions | Checks all preconditions imposed by this resource upon a request made |
Method | renderHTTP | See iweb.IResource.renderHTTP . |
Method | http_OPTIONS | Respond to a OPTIONS request. |
Method | http_TRACE | Respond to a TRACE request. |
Method | http_HEAD | Respond to a HEAD request. |
Method | http_GET | Respond to a GET request. |
I will set up the usual slew of environment variables, then spin off a process.