Util : module documentation

No module docstring
Line # Kind Name Docs
28 Function rewrite_URL_strip Strip the proxy hostname part of the passed URL.
47 Function rewrite_URL Rewrite the URL and add the proxy's HTTP or HTTPS ports when necessary. For absolute URLs without scheme, use the same scheme as used to access the proxy (using the 'ssl' flag).
124 Function using_reverseproxy Returns True if we are using a reverse proxy (config.http_endpoint != config.https_endpoint), False otherwise.
def rewrite_URL_strip(url, config):

Strip the proxy hostname part of the passed URL.

def rewrite_URL(url, config, ssl, remote_host):

Rewrite the URL and add the proxy's HTTP or HTTPS ports when necessary. For absolute URLs without scheme, use the same scheme as used to access the proxy (using the 'ssl' flag).

def using_reverseproxy(config):

Returns True if we are using a reverse proxy (config.http_endpoint != config.https_endpoint), False otherwise.

API Documentation for SwiperProxy, generated by pydoctor at 2015-10-22 17:52:21.