def make_proxy(global_conf, address, allowed_request_methods='', suppress_http_headers=''):
 allowed_request_methods = aslist(allowed_request_methods)
 suppress_http_headers = aslist(suppress_http_headers)
 return Proxy(address, allowed_request_methods=allowed_request_methods, suppress_http_headers=suppress_http_headers)

def make_proxy ( global_conf , address , allowed_request_methods = '' , suppress_http_headers = '' ) : allowed_request_methods = aslist ( allowed_request_methods ) suppress_http_headers = aslist ( suppress_http_headers ) return Proxy ( address , allowed_request_methods = allowed_request_methods , suppress_http_headers = suppress_http_headers )
make a wsgi application that proxies to another address: address the full url ending with a trailing / allowed_request_methods: a space seperated list of request methods suppress_http_headers a space seperated list of http headers that should not be passed on to target host .