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

Validator should send HTTP_ACCEPT application/xhtml+xml header

From: Michael A. Peters <mpeters@mac.com>
Date: Fri, 27 Mar 2009 03:34:35 -0700
Message-id: <49CCABBB.3000003@mac.com>
To: www-validator@w3.org
My code detects whether browser can accept xhtml+xml or not based upon 
whether the client tells the server it can.

Browsers that accept xhtml+xml get xhtml version of page, browsers that 
do not get html version of page.

Interestingly, when I validate my pages by URL, your validator validates 
the html version of the page, indicating that your validator doesn't 
tell my server it accepts xhtml+xml

This is a minor issue, but since your validator accepts xhtml+xml it 
probably should tell the server it requests a page from that it does 
because some pages (like mine) do send different output based upon what 
the requesting client says it can handle.
Received on Friday, 27 March 2009 10:35:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:12 UTC