function to manage restkit command line
build command lines options
Subclasses of webob.Request who use restkit to get a webob.Response via restkit.ext.wsgi_proxy.Proxy.
Example:
>>> req = Request.blank('http://pypi.python.org/pypi/restkit')
>>> resp = req.get_response()
>>> print resp
200 OK
Date: ...
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8
Server: Apache/2...
<?xml version="1.0" encoding="UTF-8"?>
...
Bases: webob.exc.WSGIHTTPException
Wrapper to return webob exceptions instead of restkit errors. Usefull for those who want to build WSGI applications speaking directly to others via HTTP.
To do it place somewhere in your application the function wrap_exceptions:
wrap_exceptions()
It will automatically replace restkit errors by webob exceptions.
The status as an integer
wrap restkit exception to return WebBob exceptions
Bases: restkit.contrib.wsgi_proxy.Proxy
A proxy to redirect all request to a specific uri
Bases: object
A proxy wich redirect the request to SERVER_NAME:SERVER_PORT and send HTTP_HOST header
Bases: restkit.contrib.wsgi_proxy.Proxy
A proxy based on HTTP_HOST environ variable
parse paste config
HostProxy entry_point
TransparentProxy entry_point