Re: [ietf-types] Request for registration of application/gzip and application/zlib

Bjoern Hoehrmann <derhoermi@gmx.net> Tue, 21 February 2012 20:29 UTC

Return-Path: <derhoermi@gmx.net>
X-Original-To: ietf-types@ietfa.amsl.com
Delivered-To: ietf-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 67B6011E8075 for <ietf-types@ietfa.amsl.com>; Tue, 21 Feb 2012 12:29:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.61
X-Spam-Level:
X-Spam-Status: No, score=-4.61 tagged_above=-999 required=5 tests=[AWL=-2.011, BAYES_00=-2.599]
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 DD1K1i7RtL-3 for <ietf-types@ietfa.amsl.com>; Tue, 21 Feb 2012 12:29:44 -0800 (PST)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by ietfa.amsl.com (Postfix) with SMTP id C599421F86E3 for <ietf-types@ietf.org>; Tue, 21 Feb 2012 12:29:43 -0800 (PST)
Received: (qmail invoked by alias); 21 Feb 2012 20:29:42 -0000
Received: from dslb-094-222-155-136.pools.arcor-ip.net (EHLO HIVE) [94.222.155.136] by mail.gmx.net (mp010) with SMTP; 21 Feb 2012 21:29:42 +0100
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX18ClDRljeYCAJSM64gBPFn5dseyOxV/5EdJSMBCDp rMJcULLISgKyq/
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: John R Levine <johnl@taugh.com>
Date: Tue, 21 Feb 2012 21:29:47 +0100
Message-ID: <7bv7k75ur1utsvkk8jvdlp47tt8nuab9e6@hive.bjoern.hoehrmann.de>
References: <alpine.BSF.2.00.1202211047280.29127@joyce.lan>
In-Reply-To: <alpine.BSF.2.00.1202211047280.29127@joyce.lan>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Cc: ietf-types@ietf.org
Subject: Re: [ietf-types] Request for registration of application/gzip and application/zlib
X-BeenThere: ietf-types@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Media \(MIME\) type review" <ietf-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf-types>
List-Post: <mailto:ietf-types@ietf.org>
List-Help: <mailto:ietf-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Feb 2012 20:29:49 -0000

* John R Levine wrote:
>The draft is here:
>
>https://datatracker.ietf.org/doc/draft-levine-application-gzip/

Thank you. The draft should mention that legacy applications have used
application/x-gzip in the past, but that's discouraged, people should
use the types you define instead.

(Most of these comments apply to both types).

>The zlib and gzip formats are defined in RFCs 1950 and 1952. This
>defines MIME types for them.
>
>2.  The Application/Zlib Media Type

I would prefer all lower-case for the type name.

>    Type name: application
>
>    Subtype name: zlib
>
>    Required parameters: none
>
>    Optional parameters: none
>
>    Encoding considerations: needs base64 or other encoding that allows
>    arbitrary binary data

The value should be "8bit" (for both types).

>    Security considerations: See section [security] below
>
>    Interoperability considerations: none

This should probably reference RFC1950.

>    Published specification: [RFC1950]
>
>    Applications that use this media type: anywhere data size is an issue

Same here.

>    Additional information:
>
>       Magic number(s): first byte is usually 0x78 but can also be 0x08,
>       0x18, 0x28, 0x38, 0x48, 0x58, or 0x68.

This is confusing.

>       File extension(s): none
>       Macintosh file type code(s): none
>
>    Person and email address to contact for further information: see
>    http://www.zlib.net/

The form in RFC 4288 wants you to use "&" in place of "and".

>4.  Security Considerations
>
>    Zlib and gzip compression can be used to compress arbitrary binary
>    data such as hostile executable code.  Also, data that purports to be
>    in zlib or gzip format may not be, and fields that are supposed to be
>    flags, lengths, or pointers, could contain anything.  Applications
>    should treat any data with due scepticism.

I would prefer simply referencing the two format RFCs, the types as such
do not introduce additional security considerations.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/