Part of twisted.web2.twcgi View Source View In Hierarchy
Parameters | pathname | A path to the directory that you wish to serve CGI scripts from, for example /var/www/cgi-bin/ |
Method | __init__ | Undocumented |
Method | locateChild | Locates a child resource of this resource. |
Method | render | Subclasses should implement this method to do page rendering. |
Inherited from Resource:
Method | child_ | This method locates a child with a trailing "/"
in the URL.
|
Method | putChild | Register a static child. |
Method | http_GET | Respond to a GET request. |
Inherited from RenderMixin (via Resource):
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. |
Inherited from FilePath:
Method | __getstate__ | Undocumented |
Method | child | Undocumented |
Method | preauthChild | Use me if `path' might have slashes in it, but you know they're safe. |
Method | childSearchPreauth | Return my first existing child with a name in 'paths'. |
Method | siblingExtensionSearch | Attempt to return a path with my name, given multiple possible |
Method | siblingExtension | Undocumented |
Method | open | Undocumented |
Method | restat | Undocumented |
Method | getsize | Undocumented |
Method | getmtime | Undocumented |
Method | getctime | Undocumented |
Method | getatime | Undocumented |
Method | exists | Undocumented |
Method | isdir | Undocumented |
Method | isfile | Undocumented |
Method | islink | Undocumented |
Method | isabs | Undocumented |
Method | listdir | Undocumented |
Method | splitext | Undocumented |
Method | __repr__ | Undocumented |
Method | touch | Undocumented |
Method | remove | Undocumented |
Method | makedirs | Undocumented |
Method | globChildren | Assuming I am representing a directory, return a list of |
Method | basename | Undocumented |
Method | dirname | Undocumented |
Method | parent | Undocumented |
Method | setContent | Undocumented |
Method | __cmp__ | Undocumented |
Method | createDirectory | Undocumented |
Method | requireCreate | Undocumented |
Method | create | Exclusively create a file, only if this file previously did not exist. |
Method | temporarySibling | Create a path naming a temporary sibling of this path in a secure fashion. |
Method | copyTo | Undocumented |
Method | moveTo | Undocumented |
Inherited from _PathHelper (via FilePath):
Method | getContent | Undocumented |
Method | children | Undocumented |
Method | walk | Yield myself, then each of my children, and each of those children's |
Method | sibling | Undocumented |
Method | segmentsFrom | Return a list of segments between a child and its ancestor. |
Parameters | request | the request to process. |
segments | a sequence of URL path segments. | |
Returns | a tuple of (child, segments) containing the child of this
resource which matches one or more of the given segments in
sequence, and a list of remaining segments.
|
http_GET
.
Parameters | request | the request to process. |
Returns | an object adaptable to iweb.IResponse .
|