Re: review of content type rules by IETF/HTTP community

Leif Halvard Silli wrote:
> ...
> Later Julian Reschke replied:
>> I think they do.
>> XHTML: <http://tools.ietf.org/html/rfc3236#section-2>
>> Template: <http://tools.ietf.org/html/rfc4288#section-4.11>
> 
> One of Karl points was probably that one actually recommend several extensions for (in this case) XHTML. By recommending only .XHTML, XHTML-files would in most cases automatically be served as 'application/xhtml+xml', and thus authors/users would experience the effects of XHTML.

RFC3236 mentions XHTML, XHT and HTML.

Apache 2.2.x comes with a preconfigured mapping file (mime.types) which has

	application/xhtml+xml           xhtml xht

so as far as I can tell, it already does what you're looking for (and 
probably has for a long time).

Best regards, Julian

Received on Tuesday, 21 August 2007 12:21:23 UTC