def remove_http_https_prefix(endpoint):
    """remove http:// or https:// prefix if presented in endpoint"""
    endpoint = endpoint.replace('https://', '')
    endpoint = endpoint.replace('http://', '')
    return endpoint
