Internet Explorer and ContentType="text/plain"
Posted on 2003-03-06
I have created a number of .asp files setting the Response.ContentType property to a value of "text/plain". However, when I attempt to view these pages in IE (6+) it attempts to download them as if they are suspicious file types, instead of displaying the text data to the screen. I've been able to work around it fairly easily by immediately opening the file in Notepad, but it is becoming tiresome.
Originally I thought it was a new "feature" in IE 6, but since have discovered that only IE 6 on my machine has this "feature". Any suggestions?
Thanks in advance.