def url_basename(url, content_type):
    return url.split('/')[-1]
Return best-guess basename from URL and content-type.
dataset/ETHPy150Open benoitbryon/django-downloadview/django_downloadview/utils.py/url_basename