Hi Andrew,
Andrew Ho wrote:
[...]
Sometimes, MSIE will ignore the MIME type specified in a Content-Type
header, and instead guess the type of a file based on its extension.
[...]
I _believe_ the answer lies in
http://msdn.microsoft.com/workshop/networking/moniker/overview/appendix_a.asp.
Andrew Ho wrote:
Hello,
SBCan someone please summarize the problem and add possible solutions and
SBpost it here so we can add it to this document:
SBhttp://perl.apache.org/docs/tutorials/client/browserbugs/browserbugs.html
Sometimes, MSIE will ignore the MIME type specified in a Content-Type
Greetings.
[...]
The issue: The simplest script I can't think of doesn't work.
my $r = shift;
$r-send_http_header(text/plain);
$r-print(hello world);
When I try to access the script, my MSIE 6.0 prompts for
download when it
should simple print the hello world string.
Hello,
AFAs an aside, if anyone on the list knows of ways to defang this really
AFannoying IE behavior, I would be most interested in knowing about it
Two (and probably more) ways to do it. This is probably in a FAQ
somewhere as it is a common problem.
(1) Fool IE by snarfing another
On Thu, Mar 20, 2003 at 02:04:55PM -0800, Andrew Ho wrote:
Hello,
AFAs an aside, if anyone on the list knows of ways to defang this really
AFannoying IE behavior, I would be most interested in knowing about it
Two (and probably more) ways to do it. This is probably in a FAQ
somewhere
Robert Landrum wrote:
On Thu, Mar 20, 2003 at 02:04:55PM -0800, Andrew Ho wrote:
Hello,
AFAs an aside, if anyone on the list knows of ways to defang this really
AFannoying IE behavior, I would be most interested in knowing about it
Two (and probably more) ways to do it. This is probably in a
Hello,
SBCan someone please summarize the problem and add possible solutions and
SBpost it here so we can add it to this document:
SBhttp://perl.apache.org/docs/tutorials/client/browserbugs/browserbugs.html
Sometimes, MSIE will ignore the MIME type specified in a Content-Type
header, and instead
Hello,
AGcalled foo.reg, even if it outputs a Content-Type: text/plain webserver,
s/webserver,/header,/
Humbly,
Andrew
--
Andrew Ho http://www.tellme.com/ [EMAIL PROTECTED]
Engineer
Heyas,
AHFinally, MSIE respects the Content-Disposition MIME header. This isn't
AHofficially part of the HTTP spec, but is especially useful because you
AHcan suggest a filename.
One more addition. While poking around RFC 2616 for some other stuff I
found that Content-Disposition is in fact