in reply to Re: Sneding MIME type headers not forcing desired behaviour.
in thread Sending MIME type headers not forcing desired behaviour.

Actually, you'd be surprised at what settings some browsers will let you make. It's a couple of days late for April Fool's now, but I know earlier versions of IE let you specify Netscape as the handler for HTML.

(I'd say this was somewhere near the IE3 days, just based on where I was working, when I did this for April fool's to my co-workers computer)

Anyway, I'd suggest looking at Microsoft's documentation on MIME type detection. Unfortunately, in their efforts to 'fix' badly written CGIs so they work in IE (giving the bad programmers less reason to fix their sloppy code), they've made it so that there are times when the content-type headers are ignored. (it's much like the 'fix' that allowed FrontPage and MS Word's 'Save as HTML' to keep generating crappy code, that looked just fine ... so long as you were using IE).

Anyway, test with some other browsers, and see if it's just an IE-ism. If it's affecting other browsers too, dump the full headers, and see if there's anything in there that might be bad (like two Content-type headers).

  • Comment on Re^2: Sneding MIME type headers not forcing desired behaviour.