Re: HTML Validator HTTP Accept

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 UTC