Skip to content

How to response with generated file, like Attachment but without creating a file? #2532

Answered by aldas
efkz asked this question in Q&A
Discussion options

You must be logged in to vote

First thing that I found: https://stackoverflow.com/a/15703536 basically you need to tell browser which type of attachment (Content-Type header) the server is sending and if it knows how to handle (to use which program to open) it - it will will use Excel to open that attachment.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@efkz
Comment options

Answer selected by efkz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants