Nov 28, 2000, 8:37 PM
Post #3 of 3
I've been trying to figure this out for about an hour now, just because it intrigued me. I found a good set of articles on mime-types (albiet from an ASP perspective). Don't forget to read part two (the link is in the last paragraph).
One problem I had was that the downloaded file is the name of my cgi script!
On my system, since I have the .cgi extension associated with notepad, and I've allowed it to open automatically, the "download or open" dialog box does not come up. I was able to turn this automatic opening off by going to Tools - Folder Options - File Types in Windows Explorer, selecting my CGI extension, choosing OPEN then the edit button, then unchecking the "confirm after download" option.
I also found that the text displayed on one line in notepad, but wordpad managed to see it properly. I had to save the file as text from wordpad and reopen it to see it properly in notepad.
Incidentally, I didn't find a definitive list of all mime-types. If anyone comes across that, please post it here.
Hope this helps.