Re: [Webpush] [media-types] Media type review for application/webpush-options+json

Martin Thomson <martin.thomson@gmail.com> Mon, 19 June 2017 04:17 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: webpush@ietfa.amsl.com
Delivered-To: webpush@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5925E126DC2 for <webpush@ietfa.amsl.com>; Sun, 18 Jun 2017 21:17:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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, RCVD_IN_DNSWL_LOW=-0.7, 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 qGgbeW6ASFZE for <webpush@ietfa.amsl.com>; Sun, 18 Jun 2017 21:17:04 -0700 (PDT)
Received: from mail-lf0-x233.google.com (mail-lf0-x233.google.com [IPv6:2a00:1450:4010:c07::233]) (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 D986E124C27 for <webpush@ietf.org>; Sun, 18 Jun 2017 21:17:03 -0700 (PDT)
Received: by mail-lf0-x233.google.com with SMTP id v20so48341832lfa.1 for <webpush@ietf.org>; Sun, 18 Jun 2017 21:17:03 -0700 (PDT)
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:content-transfer-encoding; bh=7+j3N788rw2UYE4gCF8AXhFbMsHcnmzjegngI41VYlo=; b=AKPfjoTQSa6YI9xatMbeNlw8Qg0qs8aZOj7tGBB4gKg3+8fbIbDffOQIAJzKTo4tPv Zq0AMiqSU8kFX/qutA24ZMJSPv6XPHhQrJcUBFBhL1mtp+c81CLYo3T1AIHljTf78rB6 4n7+lHrIa0DZmVe0g35LvUZQdotzRkc0jqAyNnMLo1EKbGRrALslwLuIttzA9866Bm4p wCmyRC9dE3emDq0dsanKRvCwG8Ana1qwdKnxC3Irb65nan4fY8NbISGDwbRb39fdxCu6 kejXIHBpIsI1aoAt7xbGs3Zkrl8JzsuEx2v7fzLjDitjmbg25qkAZGORPP3ZKPT6V6Z4 9yLg==
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:content-transfer-encoding; bh=7+j3N788rw2UYE4gCF8AXhFbMsHcnmzjegngI41VYlo=; b=F6dQNbcHSDzS43gg5aE2ookyw6XIDQWKNAjx4cnYzABSsIwhEI81VuyMB69w2Ms16L OBGmwt1dj+HoJEUo1+W8AK7i4T5gtN2q4BAZbBagTN60/JBwkpVFbGid5t1Nj/tgyN2g sTs6O7TsP27FtTXumvngQ9QBDIDUHAjytO4oVdtXW3MCadPqgh4i6dmGfBWDny7T4Byu r33JfghRup+9pMtwKunv1TeMDHYulZZz1K0m6Ugr1GdCkNNrdbH4O04oGCUIy9C9JW+A LrM+rxdWinXo/fbeoah3uS9HsrqUNkWW7ZN48gXFDzrKDWxZy293ZSR9jPu31FA53iUp nMKA==
X-Gm-Message-State: AKS2vOy9VaOgqM1y+SOxLZKH7Lsux1mz30ONgPa/ARo232hi9l88ghf6 LbFrKqqXmcN7lpyCBJM06GcMKB2P/w==
X-Received: by 10.46.21.92 with SMTP id 28mr5781086ljv.50.1497845822105; Sun, 18 Jun 2017 21:17:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.78.17 with HTTP; Sun, 18 Jun 2017 21:17:01 -0700 (PDT)
In-Reply-To: <ea2e334f-26ea-a567-558f-7d4a0288fe26@it.aoyama.ac.jp>
References: <CABkgnnVYhFq7pvHn+_HDW3ufCQtnYbmO98jh0=iOxbghu-M8ww@mail.gmail.com> <ea2e334f-26ea-a567-558f-7d4a0288fe26@it.aoyama.ac.jp>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Mon, 19 Jun 2017 14:17:01 +1000
Message-ID: <CABkgnnUinps6+ucBnq7QXewE7C32_8EGPNCtY7tfZ-_X-Goe_Q@mail.gmail.com>
To: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
Cc: media-types@iana.org, "webpush@ietf.org" <webpush@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/webpush/H9s8EW9Fr_20WBEthdUtLLQwLcA>
Subject: Re: [Webpush] [media-types] Media type review for application/webpush-options+json
X-BeenThere: webpush@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Discussion of potential IETF work on a web push protocol <webpush.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webpush>, <mailto:webpush-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/webpush/>
List-Post: <mailto:webpush@ietf.org>
List-Help: <mailto:webpush-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webpush>, <mailto:webpush-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Jun 2017 04:17:06 -0000

Thanks Martin,

Corrected in https://github.com/webpush-wg/webpush-vapid/commit/c9e2d0259d2bc6fd3b6

On 19 June 2017 at 14:01, Martin J. Dürst <duerst@it.aoyama.ac.jp> wrote:
> Hello Martin,
>
> For those fields where you have "n/a", I think in most cases, "none" would
> be more precise. Also, "Published specification:  This document." doesn't
> work when the template is extracted. Also, "Encoding considerations:
> binary" looks wrong (but maybe it was choosen because 8bit has a line length
> limitation?). Anyway, it would be good to add a comment there that the
> format is essentially text-based, and the character encoding is UTF-8.
>
> Regards,   Martin.
>
>
> On 2017/06/19 12:41, Martin Thomson wrote:
>>
>> Copying the template from
>> https://datatracker.ietf.org/doc/html/draft-ietf-webpush-vapid#section-6.3
>>
>>     Type name:  application
>>
>>     Subtype name:  webpush-options+json
>>
>>     Required parameters:  n/a
>>
>>     Optional parameters:  n/a
>>
>>     Encoding considerations:  binary
>>
>>     Security considerations:  See [RFC7159] for security considerations
>>        specific to JSON.
>>
>>     Interoperability considerations:  See [RFC7159] for interoperability
>>        considerations specific to JSON.
>>
>>     Published specification:  This document.
>>
>>     Applications that use this media type:  Web browsers, via the Web
>>        Push Protocol [RFC8030].
>>
>>     Fragment identifier considerations:  None, see [RFC7159].
>>
>>     Additional information:
>>
>>        Deprecated alias names for this type:  n/a
>>
>>        Magic number(s):  n/a
>>
>>        File extension(s):  .json
>>
>>        Macintosh file type code(s):  TEXT
>>
>>     Person & email address to contact for further information:  Martin
>>        Thomson (martin.thomson@gmail.com)
>>
>>     Intended usage:  LIMITED USE
>>
>>     Restrictions on usage:  For use with the Web Push Protocol [RFC8030].
>>
>>     Author:  See "Authors' Addresses" section of this document.
>>
>>     Change controller:  Internet Engineering Task Force