W3C home > Mailing lists > Public > www-validator@w3.org > September 2009

Re: accept header

From: David Dorward <david@dorward.me.uk>
Date: Mon, 14 Sep 2009 10:16:28 +0100
Cc: www-validator@w3.org
Message-Id: <BA90A202-ABF4-4D34-865B-678AB700FA5C@dorward.me.uk>
To: Jason Kafer <jasonk@d6einc.com>

On 14 Sep 2009, at 05:20, Jason Kafer wrote:

> Would it make sense for the script to provide the correct "accept"  
> headers based on the document types?

I think it makes more sense to keep them as separate options. ( http://validator.w3.org/docs/users.html?#option-accept 
  ).

Using the Doctype override to set the Accept header could make things  
slightly harder if the server sends back data with a Doctype that  
doesn't match the overridden one (since the tester might not pick up  
on it).


(Please direct responses to the mailing list, and not directly to me.  
Thanks)

-- 
David Dorward
http://dorward.me.uk
Received on Monday, 14 September 2009 09:17:17 GMT

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