Re: Serving XHTML as XML

On Thu, Feb 24, 2005 at 10:17:05AM +0100, Jesper Tverskov wrote:
> Tina mentions the Q parameter used in some accept-headers. I'm not using
> it in my testing at the moment. As far as I know, and I know almost
> nothing about that subject, the q parameter is only needed when you set
> up negotiation at the server directly. 

You _are_ performing negotiation at the server! Just becuase you are
performing it in software executed by the server rather then the
server configuration doesn't mean you can safely take "I do not accept
application/xhtml+xml" but only pay attention to "mumble mumble
application/xhtml+xml mumble mumble" and decide "It mentions
application/xhtml+xml therefore it must be OK to send it".

-- 
David Dorward                                      http://dorward.me.uk

Received on Thursday, 24 February 2005 09:40:38 UTC