W3C home > Mailing lists > Public > www-validator@w3.org > January 2003

Re: HTTP header 'Accept' should be sent by Validator

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 10 Jan 2003 07:47:58 +0100
To: Tom Pike <tom.pike@xiven.com>
Cc: www-validator@w3.org
Message-ID: <3e8b6c3e.543661453@smtp.bjoern.hoehrmann.de>

* Tom Pike wrote:
>The validator does not seem to send an 'Accept' HTTP header.
>
>Therefore any code which checks the Accept header to determine what type 
>of document to send will assume that the validator doesn't accept 
>documents of the type that they are checking for (in my case 
>application/xhtml+xml).

No 'Accept' header means 'Accept: */*;q=1.0', not
'Accept: */*;q=0.0', thus such code is badly broken.
Received on Friday, 10 January 2003 01:47:43 GMT

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