I have a CSV file on my server. If a user clicks on a link it should download, but instead it opens up in my browser window.
My code looks as follows
Configure your server to send the file with the media type application/octet-stream.
application/octet-stream