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: 1 comment 1 reply

Comment options

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

Answer selected by efkz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants