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. |