Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Getting Netscape to use a linked XSL stylesheet

by Fastolfe (Vicar)
on Sep 23, 2002 at 00:09 UTC ( #199976=note: print w/ replies, xml ) Need Help??


in reply to Re: Getting Netscape to use a linked XSL stylesheet
in thread Getting Netscape to use a linked XSL stylesheet

I don't believe it's legal to have an HTTP response without a valid Content-Type. A text/plain content-type, though, is fairly common as a "fall-back" for most web servers.

The problem here is that IE never trusts the web server. When it receives what it considers a "possibly too generic" content type, it will second-guess the web server and try to figure out the content type on its own, so if it sees a text/plain content-type, but something that looks XML or HTML-ish, it will interpret it as XML or HTML.

Most people view this as really evil/stupid behavior, since it encourages misconfigured web servers. Neither Mozilla nor Netscape have adopted this practice, to my knowledge.


Comment on Re: Re: Getting Netscape to use a linked XSL stylesheet
Re^3: Getting Netscape to use a linked XSL stylesheet
by Flexx (Pilgrim) on Sep 23, 2002 at 01:43 UTC

    Yep. I didn't mean it's okay to send no content type header. And I also think that IE is an instrument of evil, but I feared to be voted down for being too honest about my opinion ;)

    And I'm sure the followers of the Gates Monastery ;) will argue how smart a "feature" it is to realize an XML document even if the server wants it to be viewed as plain text (for whatever reason -- none of the browsers business...) They're like their browsers: They think they know everything better... ;)

    Sorry, couldn't resist.. ;)

    Cheers, Flexx

    BTW, I wrote this on IE 6... >;|

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://199976]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2014-08-30 17:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls