@staticmethod
def _get_url(session, uri):
    """
        Helper method to get the full url
        """
    url = session.url
    if uri:
        slash = '' if uri.startswith('/') else '/'
        url = '%s%s%s' % (session.url, slash, uri)
    return url
