pecan.rest – Pecan
pecan.rest module includes support for writing fully
RESTful controllers in your Pecan application.
A base class for
RESTbased controllers. Inherit from this class to implement a REST controller.
RestControllerimplements a set of routing functions which override the default pecan routing with behavior consistent with RESTful routing. This functionality covers navigation to the requested resource controllers, and the appropriate handling of both the common (
DELETE) as well as custom-defined REST action methods.
For more on developing RESTful web applications with Pecan, see Writing RESTful Web Services with Generic Controllers.