Cheers,
Working code: response.headers['Content-Type'] = "application/octet-stream" response.headers['Content-Disposition'] = 'attachment; filename=%s' % filename return content
Cheers,
Working code: response.headers['Content-Type'] = "application/octet-stream" response.headers['Content-Disposition'] = 'attachment; filename=%s' % filename return content