Skip to content

Commit f9bb351

Browse files
committed
remove "Content-Disposition: attachment" header from bulk service
1 parent 7d75b25 commit f9bb351

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

gsrest/service/bulk_service.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,7 @@ async def bulk(request, currency, operation, body, num_pages, form="csv"):
6767
response = web.StreamResponse(
6868
status=200,
6969
reason="OK",
70-
headers={
71-
"Content-Type": mimetype,
72-
"Content-Disposition": f"attachment; filename=bulk.{form}",
73-
},
70+
headers={"Content-Type": mimetype},
7471
)
7572

7673
response.enable_chunked_encoding()

0 commit comments

Comments
 (0)