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

Julian Reschke <julian.reschke@gmx.de> Fri, 13 April 2012 17:38 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 64C2C11E80A3 for <apps-discuss@ietfa.amsl.com>; Fri, 13 Apr 2012 10:38:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.377
X-Spam-Level:
X-Spam-Status: No, score=-103.377 tagged_above=-999 required=5 tests=[AWL=-0.779, 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 Bgx2lcalmSKT for <apps-discuss@ietfa.amsl.com>; Fri, 13 Apr 2012 10:38:17 -0700 (PDT)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by ietfa.amsl.com (Postfix) with SMTP id 13A3711E8086 for <apps-discuss@ietf.org>; Fri, 13 Apr 2012 10:38:16 -0700 (PDT)
Received: (qmail invoked by alias); 13 Apr 2012 17:38:15 -0000
Received: from p57A6DDA5.dip.t-dialin.net (EHLO [192.168.178.36]) [87.166.221.165] by mail.gmx.net (mp020) with SMTP; 13 Apr 2012 19:38:15 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18x0uoxUl8xotWGkWWUITLnMaa5WKos8mX4KAyDkv NDdArLjMnzbTWN
Message-ID: <4F886487.3050806@gmx.de>
Date: Fri, 13 Apr 2012 19:38:15 +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> <4F85A3A2.9000505@gmx.de> <01OE6QSJQ2EW00ZUIL@mauve.mrochek.com> <42487F00-DE42-49AA-9E4C-23412504C70A@tzi.org> <01OE8GNZLGKE00ZUIL@mauve.mrochek.com> <7AB551FC-03FC-4A89-8929-9E9017493C28@sensinode.com> <4F884862.9080609@att.com> <D73B8F43-AC66-48B9-BE26-A38A97C628B4@tzi.org> <f5bmx6ftxm2.fsf@calexico.inf.ed.ac.uk> <4F88546D.5020007@gmx.de> <f5behrrtwqc.fsf@calexico.inf.ed.ac.uk> <4F885889.5020401@gmx.de> <f5baa2ftvfy.fsf@calexico.inf.ed.ac.uk>
In-Reply-To: <f5baa2ftvfy.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 Discuss" <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: Fri, 13 Apr 2012 17:38:18 -0000

On 2012-04-13 19:04, Henry S. Thompson wrote:
> ...
>> You can use EXI to compress application/rdf+xml, but once you did that
>> it's not application/rdf+xml anymore. The same would be true for
>> application/rdf+xml compressed with gzip (which reminds me about an
>> epic debate we had last year about ".svgz").
>
> What?  Surely Content-Encoding is logically independent from, and
> processing-wise transparent wrt Content-Type.

Yes.

> Here's what 2616 says:
>
>    "The Content-Type entity-header field indicates the media type of
>     the entity-body"
>
> and
>
>    "The Content-Encoding entity-header field is used as a modifier to
>     the media-type. When present, its value indicates what additional
>     content codings have been applied to the entity-body, and thus what
>     decoding mechanisms must be applied in order to obtain the
>     media-type referenced by the Content-Type header field. "
>
> So I take an entity-body which is application/rdf+xml, I encode it
> with gzip, I send it marked
>
>   Content-Encoding: gzip
>   Content-Type: application/rdf+xml
>
> The gzip-aware UA decodes the entity body with gunzip and hands over
> the result as application/rdf+xml.
>
> Same for exi, modulo the fudge about infoset vs. character sequence
> which was thrashed through wrt the 'exi' content-code.
> ...

All true, but as far as I can tell, you didn't mention Content-Encoding 
in the message I replied to.

Best regards, Julian