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).


In reply to Re^2: Sneding MIME type headers not forcing desired behaviour. by jhourcle
in thread Sending MIME type headers not forcing desired behaviour. by punch_card_don

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.