'Purges the content specified by url from the cache.'

def purge_content(self, url):

    if ('https://' in url):
        url_altered = url.replace('https://', 'http://')
    else:
        url_altered = url.replace('http://', 'https://')
    self._do_content_purge(url)
    self._do_content_purge(url_altered)
    return True
