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

Julian Reschke <julian.reschke@gmx.de> Mon, 25 January 2010 13:16 UTC

Return-Path: <julian.reschke@gmx.de>
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 6D8703A69DB for <apps-discuss@core3.amsl.com>; Mon, 25 Jan 2010 05:16:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level:
X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[BAYES_50=0.001]
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 8WqFGh40IpzU for <apps-discuss@core3.amsl.com>; Mon, 25 Jan 2010 05:16:42 -0800 (PST)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by core3.amsl.com (Postfix) with SMTP id 37A1D3A69D2 for <apps-discuss@ietf.org>; Mon, 25 Jan 2010 05:16:41 -0800 (PST)
Received: (qmail invoked by alias); 25 Jan 2010 13:16:46 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.105]) [217.91.35.233] by mail.gmx.net (mp046) with SMTP; 25 Jan 2010 14:16:46 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/f4mcqNWPfvmomL60u6MUJpIQPLPfpwFSSzwQITe /1BLKrPrXbElKb
Message-ID: <4B5D99BB.4050607@gmx.de>
Date: Mon, 25 Jan 2010 14:16:43 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: Adam Barth <ietf@adambarth.com>
Subject: Re: comments on draft-abarth-mime-sniff-03
References: <C68CB012D9182D408CED7B884F441D4D5FDE79@nambxv01a.corp.adobe.com> <7789133a1001201514l47b43b8bw958e42794707dbc9@mail.gmail.com> <C68CB012D9182D408CED7B884F441D4D5FE353@nambxv01a.corp.adobe.com> <7789133a1001221925sf1f55b8k31953828848f2787@mail.gmail.com>
In-Reply-To: <7789133a1001221925sf1f55b8k31953828848f2787@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.70999999999999996
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: Mon, 25 Jan 2010 13:16:43 -0000

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.
 > ...

Sounds good to me.

In general, defining certain behaviors normatively is a good thing, but 
it doesn't need to be all-or-nothing. Also, throwing around MUSTs 
frequently doesn't help in practice; what's more important is to 
*convince* the reader that doing something is the right thing. More inline.

For instance, as Larry mentioned, (1) missing Content-Type, (2) 
mislabeled Content-Type and (3) invalid Content-Type (multiple headers) 
are distinct cases with different underlying reasons, so requiring the 
same behavior may not always be the best approach. So having different 
sections define this, and allowing people to pick the right pieces might 
be a good idea here.

Best regards, Julian