Re: [hybi] Websockets sub-protocol registry

Alexey Melnikov <alexey.melnikov@isode.com> Fri, 18 March 2016 14:04 UTC

Return-Path: <alexey.melnikov@isode.com>
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 8116E12D7FC for <hybi@ietfa.amsl.com>; Fri, 18 Mar 2016 07:04:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-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=isode.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 jRqHmFkAtlA5 for <hybi@ietfa.amsl.com>; Fri, 18 Mar 2016 07:04:39 -0700 (PDT)
Received: from statler.isode.com (Statler.isode.com [62.232.206.189]) by ietfa.amsl.com (Postfix) with ESMTP id 770DC12D92D for <hybi@ietf.org>; Fri, 18 Mar 2016 07:02:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1458309734; d=isode.com; s=selector; i=@isode.com; bh=ZkZ7TjqT3JemviBBu97F0kz3BhEUCqdtoMHXEi1vhA8=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=dOQc4LpBw+7tExtnwl3Q159LSNsMA+1W9BdpH8LcH12IfEcsNhjWK6hGicrE7Cg54y1rR7 0bTLVXiEDFz/zkM1bclJatUohcwqs+CnD2rD0M3sfOHHyEJoi8zOgXztwXEmd/iUovcwQG b455Jd/dgXI0QMyRRV8YIrT6/FfOr7Y=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215]) by statler.isode.com (submission channel) via TCP with ESMTPSA id <VuwKZgB25kqS@statler.isode.com>; Fri, 18 Mar 2016 14:02:14 +0000
To: Ted Hardie <ted.ietf@gmail.com>, Julian Reschke <julian.reschke@gmx.de>
References: <CA+9kkMDZQ_dPM76HaAKwvsRaOhdyvbQd+YLOCTR9piBYO2Kt+w@mail.gmail.com> <CADnb78gBkzjhVRQgzF29hNq4LsCZ=vSu4CJSM9nDWuLVcsOzDw@mail.gmail.com> <CA+9kkMCriEjDrs0Fpb-6QGcuZLWX37xVTBo6wk1Zq9cBSRMTxw@mail.gmail.com> <CADnb78iuJ=F=uhOTfyKx7mnH6wtpN6Pjqa2w2sQ7ZCbdULU_rw@mail.gmail.com> <CA+9kkMA5gHqd9QgfOseowEuFsE=sp8yjcUDa+6A06rQg650Jvw@mail.gmail.com> <56E6E454.7090207@gmx.de> <CA+9kkMCPkZcaM6xF0ctkhnz+Uju0WNj24pJ+-+VUqgkRy0BEjw@mail.gmail.com>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <56EC0A26.1070107@isode.com>
Date: Fri, 18 Mar 2016 14:01:10 +0000
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
In-Reply-To: <CA+9kkMCPkZcaM6xF0ctkhnz+Uju0WNj24pJ+-+VUqgkRy0BEjw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------050105090807000101000806"
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/TMuwgm8Q0L2zy1t22ul1mKBTvCo>
Cc: Server-Initiated HTTP <hybi@ietf.org>
Subject: Re: [hybi] Websockets sub-protocol registry
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: Fri, 18 Mar 2016 14:04:41 -0000

Hi Ted,

On 14/03/2016 16:43, Ted Hardie wrote:
> On Mon, Mar 14, 2016 at 9:18 AM, Julian Reschke <julian.reschke@gmx.de 
> <mailto:julian.reschke@gmx.de>> wrote:
>
>     On 2016-03-14 17:04, Ted Hardie wrote:
>
>         On Mon, Mar 14, 2016 at 8:56 AM, Anne van Kesteren
>         <annevk@annevk.nl <mailto:annevk@annevk.nl>
>         <mailto:annevk@annevk.nl <mailto:annevk@annevk.nl>>> wrote:
>
>             On Mon, Mar 14, 2016 at 4:01 PM, Ted Hardie
>         <ted.ietf@gmail.com <mailto:ted.ietf@gmail.com>
>             <mailto:ted.ietf@gmail.com <mailto:ted.ietf@gmail.com>>>
>         wrote:
>             > We simply don't want to assume it; we'd like it to be
>         specified, at least in
>             > the RTCWEB case.
>
>             In the typical use of the word, "a" does not match "A".
>
>
>             > Back to the IANA side of the question: Any objection to
>         specifying that IANA
>             > should not register two values that differed only in 
>         case?  The current
>             > instructions aren't clear on that.
>
>             Why? That would restrict the value space. We don't do that
>         for HTTP
>             verbs either (although it might make sense there, and
>         require them to
>             be uppercase).
>
>
>         The IANA registry currently has 23 items in it; restricting
>         the value
>         space does not seem like a current issue.  Basically, you
>         would do it so
>         that confusion in which was meant did not occur in the event that
>         someone did attempt the registration of XMPP (rather than
>         xmpp, which is
>         already registered).   This is a first-come-first-served
>         registry, so
>         there is no one to give helpful advice to registrants on this
>         to avoid;
>         the best we can do is give instructions to IANA.
>
>         regards,
>
>         Ted
>
>
>     The main risk I see is that people could mis-read this as meaning
>     that the values are indeed case-insensitive. Of course that could
>     be mitigated by being crystal clear in the wording.
>
>
> How would this work:
>
> "The tokens registered in the Websockets sub-protocol registry created 
> by RFC 6445 Section 11.5 are matched using case-sensitive string 
> match.  IANA is, however, instructed to decline registrations in the 
> registry which differ only as to case, in order to minimize potential 
> confusion among different registered versions.  For other useful 
> advice on avoiding collision, registrants are encourage to consult the 
> non-normative section 1.9 of RFC 6445."
>
> We can either put that in the RTCWEB draft, a short draft updating 
> just the registration portion of RFC 6445,
I slightly prefer the latter, but the former would be Ok.
> or possibly even in an accepted erratum.
We can do that as well. Although I would rather the erratum not being 
the only source of information on this.
> If it were an accepted erratum for RFC 6445, we would likely still 
> want to include something in the RTCWEB docs noting that those were 
> the rules (but not having that doc update the RFC.)
>
> Any thoughts on that approach?