I need to stream a file to the Response for saving on the end user’s machine. The file is plain text, so what content type can I use to prevent the text being displayed in the browser?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To be on the safe side and ensure consistent behavior in all browsers, it’s usually better to use both: