Home | Trees | Indices | Help |
|
---|
|
object --+ | Resource
A resource, used to support a set of different methods at a given URI.
In wsgiwapi.make_application, instances of this class can be used as callables, e.g.:
make_application({'foo': Resource(foo_get, foo_post)})
You can also make subclasses, and implement the desired methods in the subclasses.
Instance Methods | |||
|
|||
|
|||
Inherited from |
Class Variables | |
get = None
|
|
post = None
|
|
put = None
|
|
delete = None
|
|
head = None
|
|
valid_methods = set(('get', 'post', 'put', 'delete', 'head',))
|
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Jun 17 02:27:22 2013 | http://epydoc.sourceforge.net |