def set_file_download(response, filename):
    response["Content-Disposition"] = 'attachment; filename="%s"' % filename
dataset/ETHPy150Open dimagi/commcare-hq/corehq/util/view_utils.py/set_file_download/original