Re: Content-Type not working on MSIE

2003-03-21 Thread Geoffrey Young
Andrew Ho wrote: Hello, SB>Can someone please summarize the problem and add possible solutions and SB>post it here so we can add it to this document: SB>http://perl.apache.org/docs/tutorials/client/browserbugs/browserbugs.html Sometimes, MSIE will ignore the MIME type specified in a Content-Type

Re: Content-Type not working on MSIE

2003-03-21 Thread John Jung
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. Basi

Re: Content-Type not working on MSIE

2003-03-20 Thread Andrew Ho
Heyas, AH>Finally, MSIE respects the Content-Disposition MIME header. This isn't AH>officially part of the HTTP spec, but is especially useful because you AH>can suggest a filename. One more addition. While poking around RFC 2616 for some other stuff I found that Content-Disposition is in fact me

Re: Content-Type not working on MSIE

2003-03-20 Thread Andrew Ho
Hello, AG>called 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

Re: Content-Type not working on MSIE

2003-03-20 Thread Andrew Ho
Hello, SB>Can someone please summarize the problem and add possible solutions and SB>post it here so we can add it to this document: SB>http://perl.apache.org/docs/tutorials/client/browserbugs/browserbugs.html Sometimes, MSIE will ignore the MIME type specified in a Content-Type header, and inste

Re: Content-Type not working on MSIE

2003-03-20 Thread Stas Bekman
Robert Landrum wrote: On Thu, Mar 20, 2003 at 02:04:55PM -0800, Andrew Ho wrote: Hello, AF>As an aside, if anyone on the list knows of ways to defang this really AF>annoying IE behavior, I would be most interested in knowing about it Two (and probably more) ways to do it. This is probably in

Re: Content-Type not working on MSIE

2003-03-20 Thread Robert Landrum
On Thu, Mar 20, 2003 at 02:04:55PM -0800, Andrew Ho wrote: > Hello, > > AF>As an aside, if anyone on the list knows of ways to defang this really > AF>annoying 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 > so

RE: Content-Type not working on MSIE

2003-03-20 Thread Andrew Ho
Hello, AF>As an aside, if anyone on the list knows of ways to defang this really AF>annoying 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 exten

RE: Content-Type not working on MSIE

2003-03-20 Thread Alessandro Forghieri
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 w