def _get_context_path(self, port):
        """
        Some applications need to know where they are being proxied from.
        This is either:
        - {base_url}/proxy/{port}
        - {base_url}/proxy/absolute/{port}
        - {base_url}/{proxy_base}
        """
        if self.proxy_base:
            return url_path_join(self.base_url, self.proxy_base)
        if self.absolute_url:
            return url_path_join(self.base_url, 'proxy', 'absolute', str(port))
        else:
            return url_path_join(self.base_url, 'proxy', str(port))
def _get_context_path ( self , port ) : if self . proxy_base : return url_path_join ( self . base_url , self . proxy_base ) if self . absolute_url : return url_path_join ( self . base_url , 'proxy' , 'absolute' , str ( port ) ) else : return url_path_join ( self . base_url , 'proxy' , str ( port ) )
Some applications need to know where they are being proxied from.
        This is either:
        - {base_url}/proxy/{port}
        - {base_url}/proxy/absolute/{port}
        - {base_url}/{proxy_base}