Mikko.
    You may well be right that it is not HTTP/1.1 standard but it certainly
should be.  Netscape 4.7 and IE5 support it.  I have not checked earlier
versions of IE or Netscape.  Microsoft seems to regard problems in some
IE5.5's as a bug since they offer a patch.

    Unless someone has a better idea, I am going with it.  It surprises me
that such an procedure should even be in question.

Roger

----- Original Message -----
From: "Mikko Kurki-Suonio" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, February 16, 2001 3:17 AM
Subject: Re: MIME-types [off topic]


> On Thu, 15 Feb 2001, Konstantin Polyzois wrote:
>
> > I am developing an app where there will be some xml-files generated. I
want
> > the user to save these to his hard drive. The problem is that Internet
> > Exploder always displays xml. Is there some MIME type or some trick to
make
> > Exploder pop up a "save as dialog" instead?
>
> As this feature is not offered in HTTP spec, you're off in uncharted
> waters, relying on how the user has his browser configured. You could try
> spoofing a MIME type usually associated with "save to disk" action, but
> you have no true control over this.
>
> The "Content-Disposition" header Roger suggested is not HTTP/1.1 standard.
> I have no clue which browsers support it and how.
>
> Ofcourse, you _could_ make the conscious decision of supporting only users
> with the latest version of IE, and f**k the rest. Then there probably is a
> kludge, perhaps even documented in some M$ archive.
>
> > I have thought about letting the
> > user "right click" an anchor and letting him "choose save target as.."
but I
> > think it is a little uggly.
>
> It's not ugly. It's simply beyond the capability of many users...
>
> //Mikko
>
>
>


Reply via email to