Re: [apps-discuss] Fwd: New Version Notification for draft-shelby-exi-registration-01.txt

Julian Reschke <julian.reschke@gmx.de> Wed, 11 April 2012 15:30 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0F59A11E808F for <apps-discuss@ietfa.amsl.com>; Wed, 11 Apr 2012 08:30:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.583
X-Spam-Level:
X-Spam-Status: No, score=-103.583 tagged_above=-999 required=5 tests=[AWL=-0.984, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OrhO7WomowoB for <apps-discuss@ietfa.amsl.com>; Wed, 11 Apr 2012 08:30:43 -0700 (PDT)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by ietfa.amsl.com (Postfix) with SMTP id EFB3511E8088 for <apps-discuss@ietf.org>; Wed, 11 Apr 2012 08:30:42 -0700 (PDT)
Received: (qmail invoked by alias); 11 Apr 2012 15:30:41 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp004) with SMTP; 11 Apr 2012 17:30:41 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19I9n80tBRIalvOw1sjSKdZa157SnkfbsUPYdTqDo rJ2OpGBnAj/OlE
Message-ID: <4F85A3A2.9000505@gmx.de>
Date: Wed, 11 Apr 2012 17:30:42 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
References: <20120329204732.13711.266.idtracker@ietfa.amsl.com> <5580A282-E191-4962-9410-6CF9FB14EDFC@sensinode.com> <20120402124522.GX16698@jay.w3.org> <8B84EAAD-CD22-4461-9BC6-AB78974A94A2@sensinode.com> <20120411075024.GN18899@jay.w3.org> <4F85410D.20802@toshiba.co.jp> <20120411085920.GP18899@jay.w3.org> <FBCADBF9-D6FB-4E0D-9668-F5B3EF744037@tzi.org> <f5bobqye1vj.fsf@calexico.inf.ed.ac.uk>
In-Reply-To: <f5bobqye1vj.fsf@calexico.inf.ed.ac.uk>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: apps-discuss@ietf.org
Subject: Re: [apps-discuss] Fwd: New Version Notification for draft-shelby-exi-registration-01.txt
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Wed, 11 Apr 2012 15:30:44 -0000

On 2012-04-11 17:15, Henry S. Thompson wrote:
> Carsten Bormann writes:
>
>> EXI requires out of band information to use the "Schema-Informed"
>> mode.  In the Internet, This would normally be provided in an
>> Internet media-type definition.  The media-type definition may also
>> want to constrain the allowable values for the numerous options EXI
>> provides, allowing for constrained implementations of EXI.
>
> Your conclusion (use media type) doesn't follow.  Consider the analogy
> of Content-Encoding: gzip -- suppose gzip provided improved
> performance based on the decade in which the encoded document was
> written, since natural language priors slowly shift over time.  Now
> decoding requires OOB information about document creation date.  How shall
> we provide it.  I know -- we'll define media types
> application/...+gzip for every decade of interest!  I hope it's
> obvious that would be a mistake. . .
>
> If decoding requires some parameters, surely the right thing to do is
> to transmit them in the obvious place, i.e. in the response message
> header.

If decoding requires additional information, than IMHO you can't use 
HTTP's Content-Coding or Transfer-Encoding. By all means, if you think 
otherwise then send feedback to the HTTPbis WG.

> Either use the Content-Encoding (and Accept-Encoding) header itself,
> by registering a new Content-Coding value [1] (foo+exi), or (better)
> ask the W3C EXI WG to publish a Note defining an extension-header for
> specifying or requesting a schemaID (and more generally, perhaps,
> other properties specifiable in the EXI Options docuemtns).
>
> Not only would the second option fit the architecture better, it would
> remove the necessity for publishing a new RFC every time you update
> the relevant schema!

Adding more request headers here is problematic because they contribute 
to the message size, even when they are never used.

Best regards, Julian