Class t.w.r.PostableResource(Resource):

Part of twisted.web2.resource View Source View In Hierarchy

Known subclasses: twisted.web2.static.FileSaver

A Resource capable of handling the POST request method.
Method http_POST Respond to a POST request.

Inherited from Resource:

Method locateChild Locates a child resource of this 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.
Method render Subclasses should implement this method to do page rendering.
def http_POST(self, request): (source)
Respond to a POST request. Reads and parses the incoming body data then calls render.
Parametersrequestthe request to process.
Returnsan object adaptable to iweb.IResponse.
API Documentation for twisted, generated by pydoctor.