restlib /

Filename Size Date modified Message
236 B
2.1 KB
2.6 KB
2.8 KB
11.4 KB
1.1 KB
1.5 KB
1.4 KB
57 B
849 B
3.2 KB
925 B
Welcome to restlib!

Restlib is a light-weight framework for writing rest-style APIs.  It
does not have any support for templating or database manipulation; those must be added manually.  This was done purposefully to keep the restlib library small.

A request sent to restlib will go through the following process:
  * conversion from raw simplehttpserver or mod_python requests into standard 
      Request objects
  * processRequest callbacks called, if any
  * view method to call determined by routing through a series of user-defined 
  * processMethod callbacks called, if any
  * view method called - it should return a Response object
  * processResponse callbacks called, if any
  * response written to output.

Exceptions are handled by processException callback.

This arrangement is relatively simple and powerful.