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

Re: ISSUE-28 (http-mime-override): Content type rules in HTML 5 overlaps with the HTTP specification? [HTML Principles/Requirements]

From: Maciej Stachowiak <mjs@apple.com>
Date: Fri, 25 Jan 2008 18:18:18 -0800
Cc: julian.reschke@gmx.de, public-html@w3.org
Message-Id: <B9EBF32B-2504-417B-B870-3BFB12168C9D@apple.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>


On Jan 25, 2008, at 5:30 PM, Boris Zbarsky wrote:

>
> One more thought I had about this today.  Is real reason the  
> sniffing in the spec is a MUST because UAs must not do any sniffing  
> other than what's specified?   If so, it might make more sense to  
> say that as a MUST and say the existing sniffing stuff as a MAY.

Another reason is that inconsistent sniffing between browsers is  
potentially a security issue, though I'm not sure this applies to text  
vs. binary sniffing.

In other cases (like <img> entirely ignoring the server-reported  
Content-Type for binary image formats), I think the requirement should  
remain a MUST for interoperability. Binary image formats already have  
unique in-stream identifiers and it doesn't ever make sense to treat a  
GIF as a JPEG so this doesn't have the same issues as sniffing for  
binaries or RSS feeds where there could indeed be ambiguity.

Regards,
Maciej
Received on Saturday, 26 January 2008 02:18:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:52 UTC