Package restkit :: Package ext :: Module wsgi_proxy
[hide private]
[frames] | no frames]

Module wsgi_proxy

source code

Classes [hide private]
  ResponseIter
  Proxy
A proxy wich redirect the request to SERVER_NAME:SERVER_PORT and send HTTP_HOST header
  TransparentProxy
A proxy based on HTTP_HOST environ variable
  HostProxy
A proxy to redirect all request to a specific uri
  CouchdbProxy
A proxy to redirect all request to CouchDB database
Functions [hide private]
 
get_config(local_config)
parse paste config
source code
 
make_proxy(global_config, **local_config)
TransparentProxy entry_point
source code
 
make_host_proxy(global_config, uri=None, **local_config)
HostProxy entry_point
source code
 
make_couchdb_proxy(global_config, db_name='', uri='http://127.0.0.1:5984', **local_config)
CouchdbProxy entry_point
source code
Variables [hide private]
  ALLOWED_METHODS = ['GET', 'HEAD']
  BLOCK_SIZE = 65536
  __package__ = 'restkit.ext'