Re: [media-types] Request for review of Media Type application/lzip

Antonio Diaz Diaz <antonio@gnu.org> Thu, 29 June 2023 12:25 UTC

Return-Path: <antonio@gnu.org>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 974BDC14CE2C for <media-types@ietfa.amsl.com>; Thu, 29 Jun 2023 05:25:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gnu.org
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ztNth0CPpcyz for <media-types@ietfa.amsl.com>; Thu, 29 Jun 2023 05:25:28 -0700 (PDT)
Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A160FC14CF1B for <media-types@ietf.org>; Thu, 29 Jun 2023 05:25:28 -0700 (PDT)
Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <antonio@gnu.org>) id 1qEqiE-0004p8-CW; Thu, 29 Jun 2023 08:25:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=In-Reply-To:References:Subject:To:MIME-Version:From: Date; bh=rgpqPiblQoEVTyYqhmLgMKb+WvxcDzey4agYucGO3L4=; b=nXxg6THD9rttwpoXitw5 tG6suWBAnG92WfewLmiDVEf8P4Jq4p2cARuNVRCjbZJ+prcGQgnI0F5EiejlsuFC5/i+Xq/vZIwCI ARTHo7Sp8OaTDBmuCbF9kgqqsiW8DRfGCZPBM0fpFmOmqCacThlqOH2L5ZIycGYihHtviK23m9CrT SRTp0oyKnKPu4uOH6Fk2Lw7w8NPuVdzwKEqrw1vufDwGMgMiUFpS+gxvQYF1jdO2/nEqkgN6SZLIz DkJ1qlInretSyKb1N77+GB8k8d4pb2Xz1iD6caw/M1Wi93Osvw97+yhBHsY7MjmWXP5nVxIuFXmL+ Aqaje6DiXO6Bnw==;
Received: from 73.red-81-35-213.dynamicip.rima-tde.net ([81.35.213.73] helo=[192.168.1.2]) by fencepost.gnu.org with esmtpsa (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from <antonio@gnu.org>) id 1qEqiD-0002r0-D9; Thu, 29 Jun 2023 08:25:25 -0400
Message-ID: <649D784C.2080507@gnu.org>
Date: Thu, 29 Jun 2023 14:25:48 +0200
From: Antonio Diaz Diaz <antonio@gnu.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14
MIME-Version: 1.0
To: media-types@ietf.org
CC: Antonio Diaz Diaz <antonio@gnu.org>
References: <644B04DC.8060503@gnu.org>
In-Reply-To: <644B04DC.8060503@gnu.org>
Content-Type: text/plain; charset="ISO-8859-15"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/2fOkAr8Bs0Q9inTQL2Z0v6cJHpU>
Subject: Re: [media-types] Request for review of Media Type application/lzip
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type, Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>, <mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/media-types/>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>, <mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Jun 2023 12:25:33 -0000

Dear media types experts,

As I said in my first message in this thread, I'm trying to publish 
draft-diaz-lzip[1] as a RFC so that I can register at IANA (among other 
things) the media type 'application/lzip'.

[1] https://datatracker.ietf.org/doc/draft-diaz-lzip/

Until now all the reviews (here and at art@ietf.org) have been favorable. 
But at art@ietf.org some questions have been raised regarding the 
registration of compressed formats as media types:

https://mailarchive.ietf.org/arch/msg/art/o6NV_hwWIrHYU877SrKc_iv_1_c/
"But I agree with John, it doesn't seem quite right to have a compression 
scheme to be itself a media type.  It's probably worth looking at the 
discussions around the RFC that registered gzip, RFC 6713."

I think that some compressed formats are actual media formats worth being 
registered. They save storage space and add integrity checking to the data 
they contain. They also may increase the survivability of the data; multiple 
compressed copies may have a better chance of surviving intact than one 
uncompressed copy using the same amount of storage space.

I think that lossless compressed non-archiving formats are well suited as 
structured syntax suffixes because they have been used for a similar role 
for decades (tar.gz files, for example). I even maintain a set of tools 
(zutils) designed to take care of a compression layer on top of any base 
media type, usually what would correspond to 'text/plain+gzip'.

Maybe the confusion comes from the fact that compressed formats can also be 
seen as persistent content transfer encodings. Compressed files are usually 
stored in the server, transferred to the client, and stored in the client 
without decompressing them not for a moment.

Moreover, I agree with Dale R. Worley and John C Klensin in that compression 
schemes not intended to be saved in files and lacking a properly designed 
file format should perhaps not be registered as media types. This is the 
case of 'application/zlib' (RFC 6713), which does not define proper magic 
bytes nor any file extensions.

I need the help of the experts in this list to confirm the validity of the 
arguments above, and maybe find new arguments that will convince the IETF 
that it makes sense to register lossless compressed non-archiving formats 
with a properly designed file format (like gzip) as media types, and in 
particular that registering 'application/lzip' as a media type is not likely 
to cause any trouble. After all, lzip is basically gzip with higher 
compression ratio, correct size calculation, and more accurate integrity 
checking.

Thanks,
Antonio.