W3C home > Mailing lists > Public > public-html@w3.org > February 2008

Re: several messages about content sniffing in HTML

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 29 Feb 2008 11:05:24 -0600
Message-ID: <47C83B54.5080301@mit.edu>
To: Geoffrey Sneddon <foolistbar@googlemail.com>
CC: WHATWG List <whatwg@whatwg.org>, "public-html@w3.org WG" <public-html@w3.org>

Geoffrey Sneddon wrote:
> Content-Type: XML
> Content-Type: text/XML
> Using the first would break badly. I guess it seems to work because of 
> content-type sniffing on an unknown (and invalid) header

Or because the header parser uses the first header that actually looks like a 
valid content-type (e.g. contains a '/').  Specifying this _is_ needed.

Received on Friday, 29 February 2008 17:05:50 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:27 UTC