Posted by David Dorward on 11/22/70 11:37
cwdjrxyz wrote:
> "Bad example" is a value judgement taken alone, and is meaningless in a
> technical example without technical specifics. Your follow up technical
> specific concerns the mime2.php file. It is doing exactly what I want
> it to do - namely serve application/xhtml+xml to any browser that
> claims it will accept it at all.
Incorrect. It serves application/xhtml+xml to any browser that mentions that
mime type in its accept header - even if the mentioning is to explicitly
state that it does not accept it (i.e. with a quality value of zero).
> Some claim they would rather have html, but I want to bypass that when at
> all possible.
What a great idea. Assume that you know what a browser supports better then
the browser itself. That's never going to cause a problem! </sarcasm>
> such as the CSS background-color bug for Mozilla family browsers mentioned
> in a comment in my posted code.
What background colour bug? I seem to recall some discussion on backgrounds
a while back, which came to the conclusion that XHTML was not HTML and thus
certain special cases which apply to HTML don't apply to XHTML - but I
don't remember the specifics right now.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Navigation:
[Reply to this message]
|