Want to prompt browser to save csv using pyramid.response.Response searched for clues and found here\'s a link Django answer but i can\'t use it with Pyramid wsgi my code looks
It's better to set content type as well
response['Content-type'] = 'text/csv' response['Content-Disposition'] = 'attachment; filename="report.csv"'