W3C home > Mailing lists > Public > www-validator@w3.org > December 2008

Re: HTML Validator HTTP Accept

From: David Dorward <david@dorward.me.uk>
Date: Thu, 11 Dec 2008 20:49:49 +0000
Message-ID: <49417CED.5090602@dorward.me.uk>
To: Aristotelis Mikropoulos <amikrop@gmail.com>
CC: www-validator@w3.org

Aristotelis Mikropoulos wrote:
> I think that checking the HTTP Accept the web browser sends, is more
> than enough for content negotiation.

It is - but when the user agent says "I do not accept
application/xhtml+xml" you shouldn't parse that as
"application/xhtml+xml was mentioned, I shall send that".

-- 
David Dorward                               <http://dorward.me.uk/>
Received on Thursday, 11 December 2008 20:51:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:33 GMT