def download_response(self, *response_args, **response_kwargs):
        response_kwargs.setdefault('file_instance', self.file_instance)
        response_kwargs.setdefault('attachment', self.attachment)
        response_kwargs.setdefault('basename', self.get_basename())
        response_kwargs.setdefault('file_mimetype', self.get_mimetype())
        response_kwargs.setdefault('file_encoding', self.get_encoding())
        response = self.response_class(*response_args, **response_kwargs)
        return response
Return :class:`~django_downloadview.response.DownloadResponse`.
dataset/ETHPy150Open benoitbryon/django-downloadview/django_downloadview/views/base.py/DownloadMixin.download_response