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

Accept-Type

From: Bjarne Mathiesen <mozilla@mathiesen.info>
Date: Mon, 24 Nov 2003 10:02:42 +0100
Message-ID: <3FC1C932.3020704@mathiesen.info>
To: www-validator@w3.org

I've got a web-site that serves my pages with the Content-Type:
application/xhtml+xml.

Problem is, I'm checking for whether the requesting browser accepts this
encoding, and if not, I then redirect to an error-page.

Your validator is falling into this 'trap'.
My proposal is for you to include application/xhtml+xml in the Accept
header you are sending to the web-server.

yours in happy hacking
-- 
Bjarne D Mathiesen                      http://mozilla.mathiesen.info/
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$/Intel-frit miljø
MacOS X 10.2.8 Jaguar ; Mozilla 1.6a ; PowerPC G4 800MHz
Received on Monday, 24 November 2003 13:52:27 GMT

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