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

Add .csv file extension to the download.#10

Open
jozzhart wants to merge 2 commits into
nulltask:masterfrom
jozzhart:master
Open

Add .csv file extension to the download.#10
jozzhart wants to merge 2 commits into
nulltask:masterfrom
jozzhart:master

Conversation

@jozzhart

@jozzhart jozzhart commented Jun 7, 2013

Copy link
Copy Markdown

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
Copy Markdown

+1

1 similar comment
@trevorwilliams

Copy link
Copy Markdown

+1

@dgmike

dgmike commented Jun 10, 2014

Copy link
Copy Markdown

👍 but need to correct the tests....

@dgmike

dgmike commented Jun 10, 2014

Copy link
Copy Markdown

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

sabrams commented May 8, 2015

Copy link
Copy Markdown

+1

@edu2004eu

Copy link
Copy Markdown

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