t.w.resource : module documentation

Part of twisted.web View Source

Implementation of the lowest-level Resource class.
Interface IResource A web resource.
Function getChildForRequest Traverse resource tree to find who will handle the request.
Class Resource I define a web-accessible resource.
Class ErrorPage ErrorPage is a resource which responds with a particular (parameterized) status and a body consisting of HTML containing some descriptive text. This is useful for rendering simple error pages.
Class NoResource NoResource is a specialization of ErrorPage which returns the HTTP response code NOT FOUND.
Class ForbiddenResource ForbiddenResource is a specialization of ErrorPage which returns the FORBIDDEN HTTP response code.
def getChildForRequest(resource, request): (source)
Traverse resource tree to find who will handle the request.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:12:41.