W3C home > Mailing lists > Public > www-validator@w3.org > July 2007

Validator doesn't send HTTP_ACCEPT headers, "Conflict between Mime Type and Document Type" warning is incorrect.

From: Andries Louw Wolthuizen <info@andrieslouw.nl>
Date: Tue, 31 Jul 2007 05:07:13 +0000
Message-Id: <3B0DAB78-A1E5-4371-A77C-92FEA9733052@andrieslouw.nl>
To: www-qa@w3.org
Hello,

Your validator (http://validator.w3.org/check) doesn't send the  
HTTP_ACCEPT header with a request, so I (or my server) can't send a  
Content-Type: application/xhtml+xml header.

Try it for yourself, setup a page with:
http://juicystudio.com/article/content-negotiation.php#php

And validate it (XHTML1.1).

The problem is that my server doesn't get a HTTP_ACCEPT header from  
your validator, and because of that my server doesn't send a  
application/xhtml+xml header.

My website in your validator:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.andrieslouw.nl% 
2Fv4%2Fhome.html%3Faccess

Please correct this error in your validator, and let your validator  
send a HTTP_ACCEPT header.

p.s. My website does send a correct header to browsers (such as  
firefox) that send a HTTP_ACCEPT header, so the problem isn't on my  
side.

-- 
Met vriendelijke groet,
Andries Louw Wolthuizen
info@andrieslouw.nl
Received on Tuesday, 31 July 2007 05:08:48 GMT

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