Available proxies¶
-
class
wsgiproxy.proxies.
Proxy
(client=None, allowed_methods=['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'OPTIONS'], strip_script_name=True, **client_options)¶ A proxy which redirect the request to SERVER_NAME:SERVER_PORT and send HTTP_HOST header
-
class
wsgiproxy.proxies.
TransparentProxy
(client=None, allowed_methods=['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'OPTIONS'], strip_script_name=True, **client_options)¶ A proxy based on HTTP_HOST environ variable
-
class
wsgiproxy.proxies.
HostProxy
(uri, client=None, allowed_methods=['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'OPTIONS'], strip_script_name=True, **client_options)¶ A proxy to redirect all request to a specific uri