diff --git a/app/main/views/send.py b/app/main/views/send.py index 976e87f43..6c30a43b1 100644 --- a/app/main/views/send.py +++ b/app/main/views/send.py @@ -158,7 +158,10 @@ def get_example_csv(service_id, template_id, number_of_rows=2): ] + get_example_csv_rows(template, number_of_rows=number_of_rows) ) - return output.getvalue(), 200, {'Content-Type': 'text/csv; charset=utf-8'} + return output.getvalue(), 200, { + 'Content-Type': 'text/csv; charset=utf-8', + 'Content-Disposition': 'inline; filename="{}.csv"'.format(template.name) + } @main.route("/services//send//to-self", methods=['GET'])