def set_filename(self, name, renderer_context):
        type_name = 'attachment; filename=%s' % name
        try:
            renderer_context['response']['Content-Disposition'] = type_name
        except (KeyError, __HOLE__):
            pass
dataset/ETHPy150Open bkg/django-spillway/spillway/renderers/gdal.py/BaseGDALRenderer.set_filename