W3C home > Mailing lists > Public > www-validator@w3.org > December 2008

Re: HTML Validator HTTP Accept

From: Andreas Prilop <andreasprilopwww@trashmail.net>
Date: Thu, 11 Dec 2008 17:01:26 +0100 (CET)
To: www-validator@w3.org
cc: Aristotelis Mikropoulos <amikrop@gmail.com>
Message-ID: <Pine.LNX.4.64.0812111653360.9433@sarge.rrzn.uni-hannover.de>

On Thu, 11 Dec 2008, Aristotelis Mikropoulos wrote:

> but many websites check it the client can accept the
> "application/xhtml+xml" MIME Type

Sorry, but you did not understand.

Apache's "Content Negotiation" does exactly that:
 http://httpd.apache.org/docs/1.3/content-negotiation.html
 http://httpd.apache.org/docs/2.2/content-negotiation.html

This is done, for example, at
 http://www.unics.uni-hannover.de/nhtcapri/ruby-annotation.var

The browser gets "text/html"
 http://www.unics.uni-hannover.de/nhtcapri/ruby-annotation.x.html
or it gets "application/xhtml+xml"
 http://www.unics.uni-hannover.de/nhtcapri/ruby-annotation.xhtml
Received on Thursday, 11 December 2008 16:02:04 GMT

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