Skip to content
This repository has been archived by the owner on Jan 9, 2018. It is now read-only.

Add .csv file extension to the download. #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jozzhart
Copy link

@jozzhart jozzhart commented Jun 7, 2013

No description provided.

jozzhart added 2 commits June 6, 2013 22:20
Only set file name if hasn't already been set previously
@mwinteringham
Copy link

+1

1 similar comment
@trevorwilliams
Copy link

+1

@dgmike
Copy link

dgmike commented Jun 10, 2014

👍 but need to correct the tests....

@dgmike
Copy link

dgmike commented Jun 10, 2014

Looking for other issues, I founded #8 (comment) that resolves this issue without change the extension.

response.setHeader('Content-disposition', 'attachment; filename=testing.csv')

@sabrams
Copy link

sabrams commented May 8, 2015

+1

@edu2004eu
Copy link

This should not come as a separate feature, because you can already achieve this with a header, like @dgmike said in his previous comment.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants