module documentation
(source)

Implementation of the lowest-level Resource class.
Interface ​IResource A web resource.
Class ​Encoding​Resource​Wrapper Wrap a IResource, potentially applying an encoding to the response body generated.
Class ​Error​Page 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 ​Forbidden​Resource ForbiddenResource is a specialization of ErrorPage which returns the FORBIDDEN HTTP response code.
Class ​No​Resource NoResource is a specialization of ErrorPage which returns the HTTP response code NOT FOUND.
Class ​Resource Define a web-accessible resource.
Function get​Child​For​Request Traverse resource tree to find who will handle the request.
Interface _​IEncoding​Resource A resource which knows about _IRequestEncoderFactory.
Function _compute​Allowed​Methods Compute the allowed methods on a Resource based on defined render_FOO methods. Used when raising UnsupportedMethod but Resource does not define allowedMethods attribute.
def getChildForRequest(resource, request): (source)
Traverse resource tree to find who will handle the request.
def _computeAllowedMethods(resource): (source)
Compute the allowed methods on a Resource based on defined render_FOO methods. Used when raising UnsupportedMethod but Resource does not define allowedMethods attribute.