Package restkit :: Package contrib :: Module webob_api
[hide private]

Module webob_api

source code

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 #doctest: +ELLIPSIS
   200 OK
   Date: ...
   Transfer-Encoding: chunked
   Content-Type: text/html; charset=utf-8
   Server: Apache/2...
   <BLANKLINE>
   <?xml version="1.0" encoding="UTF-8"?>
   ...
Classes [hide private]
  Method
  Request
Variables [hide private]
  __doc__ = '''Subclasses of webob.Request who use restkit to ge...
  PROXY = Proxy(allowed_methods= ['GET', 'POST', 'HEAD', 'DELETE...
  __package__ = 'restkit.contrib'
Variables Details [hide private]

__doc__

Value:
'''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 #doctest: +ELLIPSIS
...

PROXY

Value:
Proxy(allowed_methods= ['GET', 'POST', 'HEAD', 'DELETE', 'PUT', 'PURGE\
'])