module documentation
Implementation of the lowest-level Resource class.
See twisted.web.pages
for some utility implementations.
Interface |
|
A web resource. |
Class |
|
Wrap a IResource , potentially applying an encoding to the response body generated. |
Class |
|
Define a web-accessible resource. |
Function | get |
Traverse resource tree to find who will handle the request. |
Interface | _ |
A resource which knows about _IRequestEncoderFactory . |
Class | _ |
_UnsafeErrorPage , publicly available via the deprecated alias ErrorPage, is a resource which responds with a particular (parameterized) status and a body consisting of HTML containing some descriptive text... |
Class | _ |
Base class for deprecated error page resources. |
Class | _ |
_UnsafeForbiddenResource , publicly available via the deprecated alias ForbiddenResource is a specialization of _UnsafeErrorPage which returns the FORBIDDEN HTTP response code. |
Class | _ |
_UnsafeNoResource , publicly available via the deprecated alias NoResource, is a specialization of _UnsafeErrorPage which returns the HTTP response code NOT FOUND. |
Function | _compute |
Compute the allowed methods on a Resource based on defined render_FOO methods. Used when raising UnsupportedMethod but Resource does not define allowedMethods attribute. |