You might also have luck by trying to fake things out with PATH_INFO. We're straying off-topic here, but here goes: start with the URL you have right now:

http://www.example.com/foo/powerpoint.html

Tack on the end more stuff. The browser won't know which part of the path is the file name and which part is the PATH_INFO, although the server figures it out when it does its path walk.

http://www.example.com/foo/powerpoint.html/no_really_i_mean _it.ppt

If the browser gets to the point where it's going to decide the type based on the URL (or choose a file name to save it as), then this sometimes works. That trick is especially handy when a script returns the content, but you don't want the script name as the file name.

http://www.example.com/cgi-bin/make_ppt.cgi/no_really_i_mean _it.ppt

The trick is to use a lot of techniques all at the same time.

Another piece of advice you didn't ask for: even though you are targetting IE, you might consider developing with a browser like Firefox. When you do that, you have a better chance of figuring out if its the server or the browser that's wrong. You still develop with IE, but the other browser is a check: if the server is wrong, it should (should!) be wrong in both browsers.

I really don't miss my days as a web developer, when we had to support WebTV too. :)

Good luck :)

--
brian d foy <brian@stonehenge.com>

In reply to Re^2: Sending MIME type headers not forcing desired behaviour. by brian_d_foy
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.