Re: comments on draft-abarth-mime-sniff-03

Ian Hickson <ian@hixie.ch> Sat, 23 January 2010 06:41 UTC

Return-Path: <ian@hixie.ch>
X-Original-To: apps-discuss@core3.amsl.com
Delivered-To: apps-discuss@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CEB473A68EB for <apps-discuss@core3.amsl.com>; Fri, 22 Jan 2010 22:41:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id beB20syBNI-r for <apps-discuss@core3.amsl.com>; Fri, 22 Jan 2010 22:41:21 -0800 (PST)
Received: from looneymail-a4.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by core3.amsl.com (Postfix) with ESMTP id BC67C3A68D3 for <apps-discuss@ietf.org>; Fri, 22 Jan 2010 22:41:16 -0800 (PST)
Received: from ps20323.dreamhostps.com (ps20323.dreamhost.com [69.163.222.251]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by looneymail-a4.g.dreamhost.com (Postfix) with ESMTP id ED0F6831F; Fri, 22 Jan 2010 22:41:09 -0800 (PST)
Date: Sat, 23 Jan 2010 06:41:09 +0000
From: Ian Hickson <ian@hixie.ch>
To: Adam Barth <ietf@adambarth.com>
Subject: Re: comments on draft-abarth-mime-sniff-03
In-Reply-To: <7789133a1001221925sf1f55b8k31953828848f2787@mail.gmail.com>
Message-ID: <Pine.LNX.4.64.1001230632200.19587@ps20323.dreamhostps.com>
References: <C68CB012D9182D408CED7B884F441D4D5FDE79@nambxv01a.corp.adobe.com> <7789133a1001201514l47b43b8bw958e42794707dbc9@mail.gmail.com> <C68CB012D9182D408CED7B884F441D4D5FE353@nambxv01a.corp.adobe.com> <7789133a1001221925sf1f55b8k31953828848f2787@mail.gmail.com>
Content-Language: en-GB-hixie
Content-Style-Type: text/css
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
X-Mailman-Approved-At: Sat, 23 Jan 2010 09:37:59 -0800
Cc: "apps-discuss@ietf.org" <apps-discuss@ietf.org>
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jan 2010 06:41:26 -0000

On Fri, 22 Jan 2010, Adam Barth wrote:
>
> At a higher level, what do folks think about re-writing the draft in a 
> more informative style instead of a normative style?  A bunch of Larry's 
> points boil down to the strengths of the normative requirements and the 
> scope of the affected user agents.  I certainly have no wish to ram 
> sniffing down anyone's throats.  I'd rather provide this document as a 
> reference for folks who feel compelled to do content sniffing but who 
> don't want to invest the year and a half of research that my colleagues 
> and I invested to arrive at this algorithm.

I think all user agents should be required to behave the same, so that 
users and content creators can interchange them at will, leading to a 
healthier competitive landscape. To this end, I think the spec should be 
normative with no optional behaviour.

I'm ok with allowing the sniffing to be skipped altogether, since that is 
equivalent to not implementing the spec. However, I'm not especially happy 
about allowing that, and I certainly do not think we should water down the 
requirements any more than that, _especially_ not on purely theoretical 
grounds.


> All that is a long-winded way of saying that these things are in the 
> draft for a reason.  The sniffing algorithm is highly constrained by 
> reality.  Looking for philosophical purity in content sniffing is like 
> trying to find a Newtonian explanation of Brownian motion.

Indeed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'