Re: [hybi] Sub-Registry Protocols that are not exclusive to WebSockets

Martin J. Dürst <duerst@it.aoyama.ac.jp> Mon, 02 May 2016 08:36 UTC

Return-Path: <duerst@it.aoyama.ac.jp>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B586E12D146 for <hybi@ietfa.amsl.com>; Mon, 2 May 2016 01:36:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-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 PtkZ8yQaEHsJ for <hybi@ietfa.amsl.com>; Mon, 2 May 2016 01:36:29 -0700 (PDT)
Received: from JPN01-TY1-obe.outbound.protection.outlook.com (mail-ty1jpn01on0090.outbound.protection.outlook.com [104.47.93.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AD2D112D142 for <hybi@ietf.org>; Mon, 2 May 2016 01:36:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=itaoyama.onmicrosoft.com; s=selector1-it-aoyama-ac-jp; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=XwweK5nK0YNnWv+blt3+q6wmR8Dvb8efvOMAxINJ8Sg=; b=Ki8tnxCBckbrxFzwC4yiWqapVrjgmq50j+CW0ywSmk+6kFv5+xgpW3xEAG3YHRneEJxtnKsV/ZMiE7WhAaZrwFwJUumul4V0bmLR5sGcCHrr3WWH29FNuFLvH8aToHoht8ZlMIoXVE/S08keRMa2l+XmAjk9aF1sCmADIXjL2Uo=
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=it.aoyama.ac.jp;
Received: from [133.2.210.64] (133.2.210.64) by OSXPR01MB0919.jpnprd01.prod.outlook.com (10.167.148.149) with Microsoft SMTP Server (TLS) id 15.1.485.9; Mon, 2 May 2016 08:36:25 +0000
To: Scott Morgan <scott@adligo.com>, <hybi@ietf.org>
References: <CANEdHmiUFf_+1QToMUJ_X3+jROVij+c=zy212ZhNzA4+pW4bJQ@mail.gmail.com>
From: =?UTF-8?Q?Martin_J._D=c3=bcrst?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
Message-ID: <8c6c8096-9b52-396c-0e11-e1551af5a4d5@it.aoyama.ac.jp>
Date: Mon, 2 May 2016 17:36:23 +0900
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <CANEdHmiUFf_+1QToMUJ_X3+jROVij+c=zy212ZhNzA4+pW4bJQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: 7bit
X-Originating-IP: [133.2.210.64]
X-ClientProxiedBy: KAWPR01CA0047.jpnprd01.prod.outlook.com (10.165.48.157) To OSXPR01MB0919.jpnprd01.prod.outlook.com (10.167.148.149)
X-MS-Office365-Filtering-Correlation-Id: e3acc458-d6ee-4d4c-9094-08d37264d91a
X-Microsoft-Exchange-Diagnostics: 1; OSXPR01MB0919; 2:TRH0D78SZxikOqKH/38qgR3TCwS74xPXAvei31EoKEw9MtrvGkHp6aJrP+RFkNSaD378Py3AMhIFKlDpPAzuVxdHRx3ZUp7YL5aMDMHCplWuBhTZqAcqF0k0HPT1ePIygKt/VF1X/7ArN/i5eXW/Ax25vj5sx357ZO9EIx6WmZGDwPd8s2HtYhIpowg+VT1p; 3:UsZedpy5vYd6PySGIJ0nZ+mAiJRcZZv5nWOa2gorBibtHciAEa3uiE0qbcirVVJEed+lRNZ3xBDijP1wuNRMLe8mi2ZhgfmlWRksfDq1PiLyb1NvAiQT0OOdwXG4DAtT; 25:k2f6MU+OCAqb7Dq0pLuKv49p04SflDFtuhTCNzB4+0uuFCXXg6M+YerUI5Ww4nMuVF6l3S6wI/ye9fMVOVIIKafEp3N2GZi0ZJYQgV7KfK+wpop4rRtuRQWLmAkdXBUxlin+LZz1bVXtZto+UhoeS3LxRLRDgtUcm+aRmNJ29ZcRC+so09JPE/SwlvxuLOsL8JCRgU69tm4X4FUz55fDOcrYDSQxRDa6njs4URTuHkYIeO9u98p35f/udWMcPSTYOoWaA6sOsuUkrRzz+1BckjobnC8J3lEjFWXF3NrZkuj1TqKbT86ELePNMNjwRlHC1xQs3pTI/mNvqJAXKOaLCLDe7BILhWGZMUsnH4LC53mKg3vhFJEyRdhQnEqlWXIke0bURWmG+0bFYqhpzL+NGC7d4H+PLkd5xoqsyANIDloGCdsvJJ7ZqKp1iCDTmWGr
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:OSXPR01MB0919;
X-Microsoft-Antispam-PRVS: <OSXPR01MB091925E5DB83E97B38AFBA97CA790@OSXPR01MB0919.jpnprd01.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(9101521092)(6040130)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041072)(6043046)(6042046); SRVR:OSXPR01MB0919; BCL:0; PCL:0; RULEID:; SRVR:OSXPR01MB0919;
X-Microsoft-Exchange-Diagnostics: 1; OSXPR01MB0919; 4:viK0d/joIuNUuUX4BuekwJrrl3a65NDvsNlVLThiVtlXvfez/PxnaeKA33gNr6N5MkUj9Q9cb1xHuuoYOxVO/2mOcnGC76ul8ImLF+egLb6eDl5HOvhYKnmMltwyHvlNr6R8smBOvkCjjifKBfF83Oflro8eFR+8vP/xODGb8yXl+cA0b74b2AlH6IYd8qihoN2ZTfmfp4Hkd1dn7yTfsU98Zchzo45y0/bobag42zNMMR4fHJN0PaHqrxU08QyQXfhTInfbUUWTb+MXKIfbHrsYfPoDGHP68RnzTrLB+Q2tHd0MboUwvbkbh1h5phHdo1Iio15PX5NoaYQHx8ptLtt99EhIcRKslxdBuigPXfAjPobkvvaWQv5uQIA5Ecb2SGQh7KUYwMu1oW4CJPjPIX59qxv9L+aSgDakQ0v/zgcmv5U6tIEDLanc2dEd0hc/clKFtcqzoA1LGfFcY1DT/A==
X-Forefront-PRVS: 0930AAFAD9
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6049001)(6009001)(24454002)(51694002)(53754006)(77096005)(3846002)(6116002)(31686004)(586003)(1096002)(2950100001)(42186005)(23676002)(66066001)(5001770100001)(47776003)(4001350100001)(65806001)(230700001)(65956001)(19580405001)(19580395003)(74482002)(50466002)(92566002)(5008740100001)(33646002)(31696002)(5004730100002)(54356999)(2906002)(189998001)(15975445007)(81166005)(50986999)(76176999)(107886002)(86362001)(83506001)(65826006); DIR:OUT; SFP:1102; SCL:1; SRVR:OSXPR01MB0919; H:[133.2.210.64]; FPR:; SPF:None; MLV:sfv; LANG:en;
X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtPU1hQUjAxTUIwOTE5OzIzOktNRmExSTE3azZvM3oySTc3UmtnM09GYnlD?= =?utf-8?B?UDkyUkxzTVVTZUJYRmxEYldSUGUrTWZSL1VkbExSSXpGLzEyRHYvMlJQekdF?= =?utf-8?B?b1BpbW5LNHVUZUJ1LzYxSWE5S1BJWjFVQUR1alA1MDBsVDRjMTlKdEVMWC84?= =?utf-8?B?M094MkNBYnVEUHVkYUo3dTU2Z2wzRzVvQ3NTVnNzVzkzQnJWNnlSMHRsRk9C?= =?utf-8?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FwYUJiOFFmalN2SkJxUzBt?= =?utf-8?B?RE1wa0NrZFBkc1FWMTFqUVEwME56d1lnY1hpL1ZuQ3E1emZrYmc4elMzWFRY?= =?utf-8?B?a0lPT1ByR1AzbUI4VU5vaE1jRitUM0pLZml6NFRFSGRoMGQ5cUx3U0l4bkFv?= =?utf-8?B?cHhhWjdSckVFMFpjdUlHTER3aWF0M2V3OHRvaHRRRUJvdU16alpOaWloZzRB?= =?utf-8?B?NGVkcmExT09GZUFuMzE5YzRPRTdpZytFNDB3K1dvZ2gyaVVGVjVDcnFtMHBV?= =?utf-8?B?cXlxRDF0UXJqb0t4VGU4TnU0MUhUWkpUUU5VT29OTFR6ZDZBb0FPYzdBQmF2?= =?utf-8?B?WkFyZVFWT25xWlNQRll0TllsSkJFV2x6ZW5meFUra05WVjRZeVVEVng2bENp?= =?utf-8?Q?VLMTJTuQwPNQr7I04rBVK3oyc=3D?=
X-Microsoft-Exchange-Diagnostics: 1; OSXPR01MB0919; 5:K4n9bAqMbgPhVUtHoSPkUTftEGj4cBHjmfnNErWHP43/d+qvOJLiV5Bj8onMpzDrI9hmlDwvOWAtphz+AT4k3DXDLMc0rXZqxID3DfN53c4jchdcVaIsk+kWHphr3qHkZ7ZZcJDi+WOaqkwL5XR/YA==; 24:SqvJ7U9jTEKgsGEXa9m2kT1ZVcNchiZQc3poDNbMR0bDe/4pfDxYTfenMi5Kw+MepvmIG4ieDY/7wb4ynAUJm7WWU07GTj/Gnw+1hfog8CA=; 7:eys0V4NF+q2kONbtIs7d2Y98YrTA25CsDaZErjzZvCVXjgqQAnUjntxZqP9LAJs4ctQv5zT7bHwabegaqG570e4cRvBX8/QuZg8RnvrnvWwXR6aX73qacPP6agDGHBZUFEvWwhkcq13TsCs6u0bVoGl7VfSH2Qlqthx+1B9BpZy0eYHtg8mepgYziGUfYEjX
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: it.aoyama.ac.jp
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2016 08:36:25.3127 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSXPR01MB0919
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/dMi3xLAbseeRoR5LXZugAcMRjDo>
Subject: Re: [hybi] Sub-Registry Protocols that are not exclusive to WebSockets
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 May 2016 08:36:32 -0000

Hello Scott,

On 2016/04/29 04:15, Scott Morgan wrote:
> Hi All,
>
> I just wanted to point out that there is not always a hierarchy between
> protocols.

That's a valid point, at least in theory.

> For example the protocol I am working on ASBP (Asynchronous
> Services Bus Protocol) is intended to be layered on top of any of;
>
> WebSockets
>
> Http/2
>
> Http 1.1
>
> Http 1.0
>
> https://datatracker.ietf.org/doc/draft-adligo-hybi-asbp/?include_text=1
>
>
> In the ASBP case I would guess that I should register ASBP as a WebSocket
> sub protocol, as well as a sub protocol for all of the above protocols.

There's no registry for protocols over HTTP. My understanding is that 
this is essentially because the protocol/architecture (as explained e.g. 
by REST) of HTTP is essentially fixed, although of course it's always 
possible to find ways to bend or tweak it.

Also, I don't think it makes sense to have different mappings for HTTP 
1.1 and 1.0. The same most probably applies for 1.1 and 2.0, because 
they are supposed to be semantically identical.


On the other hand, as far as I understand, the WebSockets sub protocol 
registry was created because WebSockets is not much more than TCP for 
the Web (the main difference to TCP being the message concept). So it 
looked prudent to create a registry to reduce the possibility of 
confusion one layer higher up.

However, because WebSockets is usually used between two consenting 
parties (the browser which downloaded a Web page from a server, and that 
server), the Websockets Sub-Protocol Registry has been rather 
underutilized, and there are many usages of WebSockets without any 
explicit subprotocol.

Regards,   Martin.

> On the other hand perhaps the title 'Websockets Sub-Protocol Registry'
> should be changed to 'Protocols Supported Over WebSockets' in order to
> facilitate clarity.
>
>
> Cheers,
>
> Scott
>
>
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>