restish.app

Core wsgi application

class restish.app.RestishApp(root_resource)

Bases: object

get_response(request, resource_or_response)

Resolve the resource/response until we get a response.

The resource_or_response arg may be either an http.Response instance or a callable resource. A callable resource may return another callable to use in its place.

locate_resource(request)
Locate the resource at the path in request URL by traversing the resource hierarchy.

This Page

Quick search