express-csv icon indicating copy to clipboard operation
express-csv copied to clipboard

Add .csv file extension to the download.

Open jozzhart opened this issue 11 years ago • 6 comments

jozzhart avatar Jun 07 '13 18:06 jozzhart

+1

mwinteringham avatar Jul 22 '13 10:07 mwinteringham

+1

trevorwilliams avatar Sep 11 '13 15:09 trevorwilliams

:+1: but need to correct the tests....

dgmike avatar Jun 10 '14 17:06 dgmike

Looking for other issues, I founded https://github.com/nulltask/express-csv/issues/8#issuecomment-28124841 that resolves this issue without change the extension.

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

dgmike avatar Jun 10 '14 17:06 dgmike

+1

sabrams avatar May 08 '15 21:05 sabrams

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

edu2004eu avatar Jan 13 '16 14:01 edu2004eu