Re: [dispatch] Zstandard compression

"Murray S. Kucherawy" <superuser@gmail.com> Mon, 13 November 2017 06:19 UTC

Return-Path: <superuser@gmail.com>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D0201129353 for <dispatch@ietfa.amsl.com>; Sun, 12 Nov 2017 22:19:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T27pf85sPQOa for <dispatch@ietfa.amsl.com>; Sun, 12 Nov 2017 22:19:00 -0800 (PST)
Received: from mail-qt0-x22e.google.com (mail-qt0-x22e.google.com [IPv6:2607:f8b0:400d:c0d::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0A59B129471 for <dispatch@ietf.org>; Sun, 12 Nov 2017 22:19:00 -0800 (PST)
Received: by mail-qt0-x22e.google.com with SMTP id n32so2148601qtb.2 for <dispatch@ietf.org>; Sun, 12 Nov 2017 22:18:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=d+fiGO+Vx74hlcF65P8B1vRyjhATsJrEg3Pukf1XyB8=; b=duSbUBsaL09pLd+hD78cljZjobvCmnjLnJUz+R0Lie6Z1RIFtU8EXlX+7vmblxX41+ BR6RxDAaNZjrGroheTu/yL85WUjFRWeK/660dGUEk93DFGeH7Id87x1H+dKR13o4onQa QKWoUFbePwYfW2L5Aqw3OBxypJjnkisDshAbouCW/j6m9neBxkDzCdcr8ZMlrQD8/XHF eC0aqlNvGzlPVSpOo7qagSpxvVwzNKS6Jw0fdpZCJIFCF1A0Ubj4tPsoIQCNGZ4rC79S GHUSGn3cwT41BNZwcAyBHtLK1+8/ygdKln2U7EvzpYk8glHEODeB3VaI2vyy/kbF7msz u7Sg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=d+fiGO+Vx74hlcF65P8B1vRyjhATsJrEg3Pukf1XyB8=; b=eBBoqv8Qc1wHRViMW/Yj8Xv0TphWbIeE/P7qRmvd6QclYPECvHRuV/jDScb+2vMChV DBNLVxt/ZEWzudAvTqlyHsB4N+L0a9vB7DFCeGjqEW3EKIu+UxXoJms3ABNX9twMyrZJ Gmmqy6/Qa+w/QXtZzTCzIgo7vueGRSI7pZdId6tleHq3AI/vM+g4zMUf+yJr0sLbEi3o fg/g11dRGzsxTOCfbtxN8SKooqKHbtt53BqUZZibUR5B5Xsfy9gYBbv9399IAEmMcv6A hghO2JFsrw4w5SMT8d8SVs66avlknJu7gzSNqe9pBLu1pdk+5SxA03Tk8TjOARFeKt+t zdKg==
X-Gm-Message-State: AJaThX7UES0Od4VE5utDmeQZwNfK5w/aaOadZnlNQQy7/hShUl1Xaxm6 jGDpsavyIcAOp1ILzVE/iLz5t7YXdgBX8QW2Npo=
X-Google-Smtp-Source: AGs4zMZOPbDzMEitKDqVPZaBsM72YorJwhVEZR0AhlZPDlK6XteqhSfT6qOyFHR0A4AwUghxUrpIxr/aDD5bZpgtvnE=
X-Received: by 10.200.50.78 with SMTP id y14mr924539qta.84.1510553939031; Sun, 12 Nov 2017 22:18:59 -0800 (PST)
MIME-Version: 1.0
Received: by 10.200.40.115 with HTTP; Sun, 12 Nov 2017 22:18:58 -0800 (PST)
In-Reply-To: <2A0764E1-1ADA-4510-A717-23095A4362F0@seantek.com>
References: <CAL0qLwatePp87tC6YGRj4=K0xivMfSr2QSDkn6VVkojvs4DW7A@mail.gmail.com> <E6EAC624-21A3-425A-B355-9D4EFA4F7CBB@seantek.com> <CAL0qLwbhPCJDBwNw0Q88kW5c2e_8msr+UwtV_4DnMXVOBZoGXA@mail.gmail.com> <2A0764E1-1ADA-4510-A717-23095A4362F0@seantek.com>
From: "Murray S. Kucherawy" <superuser@gmail.com>
Date: Mon, 13 Nov 2017 14:18:58 +0800
Message-ID: <CAL0qLwYMA-HShoDvFtTcqK6dav=5Bfocf1TTJUsgB+3deVTzJA@mail.gmail.com>
To: Sean Leonard <dev+ietf@seantek.com>
Cc: DISPATCH list <dispatch@ietf.org>
Content-Type: multipart/alternative; boundary="001a113bef4cf3394e055dd73ef9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/aAZNOyeAvvBcUnwju3nQXNKE7Js>
Subject: Re: [dispatch] Zstandard compression
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Nov 2017 06:19:02 -0000

On Mon, Nov 13, 2017 at 2:01 PM, Sean Leonard <dev+ietf@seantek.com> wrote:

> Why does that imply that a media type is not appropriate?  A module
> receiving this content for processing needs to know what format it's in,
> and I believe that's what these are for.
>
>
> Working on this. It strikes me as either…odd…or just not really that
> useful for the purpose. It is a format, but it’s just a format for a stream
> of arbitrary bytes. There is no way to label it internally beyond the
> implicit “application/octet-stream” type.
>

Don't you need a hint as to how to decode an octet stream that's encoded in
some way?

The kind of signaling Content-Encoding provides is something that's needed
more generally, and this is what a media type would solve.

-MSK