Re: [Json] [IANA #1147224] Request for Assignment (websocket)

Martin J. Dürst <duerst@it.aoyama.ac.jp> Thu, 26 September 2019 05:05 UTC

Return-Path: <duerst@it.aoyama.ac.jp>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 029A01200DE for <json@ietfa.amsl.com>; Wed, 25 Sep 2019 22:05:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_EXCESS_BASE64=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 (1024-bit key) header.d=itaoyama.onmicrosoft.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 PIw5uflI6kXg for <json@ietfa.amsl.com>; Wed, 25 Sep 2019 22:05:27 -0700 (PDT)
Received: from JPN01-OS2-obe.outbound.protection.outlook.com (mail-eopbgr1410099.outbound.protection.outlook.com [40.107.141.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CAA951200BA for <json@ietf.org>; Wed, 25 Sep 2019 22:05:26 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B/5vh4KZfD+jOH62eMO2MERKUKeHYAyCNUi7QhEKTvsOb6DvdZzpbjMPCjb7isyOYSp+oH2GFISZPEyivOmLMlWAzphRkFvkc2leOirJle15gbT5s5HTAzWyrTvDc69smNpdhoc6qAr4a+CWbgVFUMfioo0jiNqFaLQxjsNZkli+C5hds1jsC0DpXpUv6R8W2oTIa8ddrKTpZw4pErzpYWF4zuNi148tzOlJQV+8QCo9+51p3EMw2jL6+Qf6SeHLu4Mk1Cc242+/iXJP9fwKFQc00w0rxQLwOOskEDusw8nlK1BWyrJCsCL+3S1kWTyPN5fkZDNQ9MpUw+3FCPKZ5g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X3kZBW3AvM2qdb1pB9TJpbExjWgFQNNAL1gSV/aYjOA=; b=Zld4uomgtRTqzpn2RpUxTmxPvwS/6xlIChR3LDzNNfTpKisk7XXY6l9WeC7kizRkX+aI7x2xrqwYCO8kJ6l5uBCt6uDE57Ai9aDLctT5U3gwqosY9P6/CN7NrPxxXiSdu/TdvKToiQSnlEXRxBkHQ5kqtm8RzNWXufxRh6nzy1QrRTceVlbRt88f8LjATPTMB8GkEK7abZuaTsZOO4UnVoUzXw60FkaUsoaticdvxEaHbDhKIwXFZK8x/JH+3KOW/302V6nMhslxYaTrx8mP1M0uFs3evosmhsZAILQYryow5bQTXDHaBVoYXUQvZ77VARS/yFDa8wm+aDk3kljZ0A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=it.aoyama.ac.jp; dmarc=pass action=none header.from=it.aoyama.ac.jp; dkim=pass header.d=it.aoyama.ac.jp; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=itaoyama.onmicrosoft.com; s=selector2-itaoyama-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X3kZBW3AvM2qdb1pB9TJpbExjWgFQNNAL1gSV/aYjOA=; b=EcZA25fiMb8jRJq1zK/RJP2LH8/M14T73HjL99k6IEGEAH7VOlReI8crj55ymo7SDY+TP1oWvYna0WC3QBii52Qm7Z5qpBnIv19I1J7Og39seWA9wNefZWNjLC31IS4k8CMXp0mM3WSBzd1g9ebXON6UuEG1zYNxRC65JFBvPaw=
Received: from TYAPR01MB4397.jpnprd01.prod.outlook.com (20.179.186.213) by TYAPR01MB5166.jpnprd01.prod.outlook.com (20.179.173.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.25; Thu, 26 Sep 2019 05:05:24 +0000
Received: from TYAPR01MB4397.jpnprd01.prod.outlook.com ([fe80::990:689e:3836:c512]) by TYAPR01MB4397.jpnprd01.prod.outlook.com ([fe80::990:689e:3836:c512%5]) with mapi id 15.20.2284.023; Thu, 26 Sep 2019 05:05:24 +0000
From: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
To: Mark Nottingham <mnot@mnot.net>, "Matthew A. Miller" <linuxwolf+ietf@outer-planes.net>
CC: "iana-prot-param-comment@iana.org" <iana-prot-param-comment@iana.org>, "json@ietf.org" <json@ietf.org>
Thread-Topic: [Json] [IANA #1147224] Request for Assignment (websocket)
Thread-Index: AQHVc/lDZShKjZXFUUygPoaY3peU9Kc9EpiAgAACCoCAAFNqAA==
Date: Thu, 26 Sep 2019 05:05:24 +0000
Message-ID: <4c8ca62c-8e6a-7e21-c7b8-1d41d0d71085@it.aoyama.ac.jp>
References: <RT-Ticket-1147224@icann.org> <7888644A-1F38-413E-81F8-B43A58BE3972@iana.org> <69996e23-6d23-8ed2-482a-de79ff348b66@gmx.de> <rt-4.4.3-6257-1568696553-1328.1147224-9-0@icann.org> <rt-4.4.3-18233-1569454234-1725.1147224-9-0@icann.org> <3530055a-b7db-1a16-24bd-060b31144136@outer-planes.net> <0AFF8A0C-DB07-406B-B87D-28C8FA756819@mnot.net>
In-Reply-To: <0AFF8A0C-DB07-406B-B87D-28C8FA756819@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: TYAPR03CA0016.apcprd03.prod.outlook.com (2603:1096:404:14::28) To TYAPR01MB4397.jpnprd01.prod.outlook.com (2603:1096:404:12d::21)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=duerst@it.aoyama.ac.jp;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [133.2.210.64]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 3f59ae9d-5cd1-4c0f-be17-08d7423f2372
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7025125)(7027125)(7023125)(5600167)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:TYAPR01MB5166;
x-ms-traffictypediagnostic: TYAPR01MB5166:
x-microsoft-antispam-prvs: <TYAPR01MB516653E28F40127A8C0FD397CA860@TYAPR01MB5166.jpnprd01.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0172F0EF77
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39840400004)(376002)(366004)(396003)(346002)(136003)(189003)(199004)(5660300002)(8676002)(486006)(476003)(85202003)(256004)(14444005)(85182001)(6512007)(102836004)(26005)(508600001)(186003)(7736002)(25786009)(6506007)(6436002)(99286004)(446003)(11346002)(54906003)(14454004)(786003)(6486002)(6116002)(64756008)(3846002)(66476007)(2616005)(76176011)(31696002)(305945005)(52116002)(66446008)(110136005)(66066001)(316002)(53546011)(31686004)(386003)(81156014)(81166006)(8936002)(66946007)(4326008)(6246003)(66556008)(2906002)(71200400001)(86362001)(229853002)(71190400001); DIR:OUT; SFP:1102; SCL:1; SRVR:TYAPR01MB5166; H:TYAPR01MB4397.jpnprd01.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:0;
received-spf: None (protection.outlook.com: it.aoyama.ac.jp does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: YUCJtXruA+/40deFDUFYd61ISwndtqAXLJWEinWUXe7ceFfKfRQ9vRoQFS/bUBuFVJm/himHOjpke9BZDRrtx4kZaKJ8D1k0La93PtJUvcPQ5RFHxra04gkiZW0WzPv7qzUZ1hzSQFBxKSUy86Tl1uYIlZAUq9CiwHJwdawiWHycc9N/qBm9+42JbOgX0irguBAIQn6iMnesFfOX4bjUdSrhdB/61TUbUSlhuryTAEyAbTpEC0EckzMplI0VMeKYEaWaN4SMdumIdWw2d0TfwEyib8QfW3cgeL0Pqcyf1HH/d6pZvbYtv6moZe2OxW4kPwm6n3hrro3zVdrC+ZZnXyK2TnCyHtbsnJrreUr/EK6EZD/q+WutiifReEgfH2t3amFqkMCJPQzc0irtFAavqtDZXjzWQpg/V510OHy6jRQ=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <D8893AF43D2E18449BD5E7183CBE32A4@jpnprd01.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: it.aoyama.ac.jp
X-MS-Exchange-CrossTenant-Network-Message-Id: 3f59ae9d-5cd1-4c0f-be17-08d7423f2372
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Sep 2019 05:05:24.2558 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: e02030e7-4d45-463e-a968-0290e738c18e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: xYkInsVM+36nJFi5AITxL1yvFdi+XVXZ1HN26HaCX7dKGKwwVWGrazwMNL+fdWq+1QipcspN2Dh9SzDf3H8SHw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYAPR01MB5166
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/CNUYF3QBXuLvH7c2N954MsW-a8Y>
Subject: Re: [Json] [IANA #1147224] Request for Assignment (websocket)
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/json/>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Sep 2019 05:05:30 -0000

On 2019/09/26 09:06, Mark Nottingham wrote:
> +1
> 
>> On 26 Sep 2019, at 9:59 am, Matthew A. Miller <linuxwolf+ietf@outer-planes.net> wrote:
>>
>> In my opinion, a generic "json" WebSocket subprotocol does not make
>> sense.

Fully agreed.

>> JSON is too generic a content format for a client and server to
>> adequately understand what the WebSocket session would be used for.

Yes indeed. Same for CBOR.

>> If there were a specification that made it clearer what the intent is,
>> my opinion might change.

Yes. As a very short summary, it would have to say what kinds of JSON 
data the server sends, what kind of JSON data the client sends, in what 
order, and what the meaning of each of these messages is.

Silly example: The IANA protocol registry access WebSocket subprotocol:

Client sends ... (details to be worked out), indicating the IANA 
protocol registry data that is requested.

Server sends: ... (details to be worked out), actual protocol registry data.

Of course this example doesn't make much sense, as a very similar thing 
can be done much more easily over HTTP(S) directly.

Regards,   Martin.


>>
>> - m&m
>>
>> Matthew A. Miller
>> On 19/09/25 17:30, Amanda Baber via RT wrote:
>>> Hi Julian, all,
>>>
>>> We received a suggestion from the ADs that we specifically ask about the utility of websocket subprotocol IDs for JSON (and CBOR, the subject of the other request we received). Are there issues there?
>>>
>>> thanks,
>>>
>>> Amanda Baber
>>> Lead IANA Services Specialist