Re: [rtcweb] WGLC for data channel drafts - sub-protocol usage

Christian Groves <Christian.Groves@nteczone.com> Sun, 06 July 2014 07:56 UTC

Return-Path: <Christian.Groves@nteczone.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF4461A0295 for <rtcweb@ietfa.amsl.com>; Sun, 6 Jul 2014 00:56:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
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 7ULopSFO3StF for <rtcweb@ietfa.amsl.com>; Sun, 6 Jul 2014 00:56:02 -0700 (PDT)
Received: from cserver5.myshophosting.com (cserver5.myshophosting.com [175.107.161.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7D5111A0290 for <rtcweb@ietf.org>; Sun, 6 Jul 2014 00:56:02 -0700 (PDT)
Received: from 4.224.120.153.east.global.crust-r.net ([153.120.224.4]:55022 helo=[127.0.0.1]) by cserver5.myshophosting.com with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from <Christian.Groves@nteczone.com>) id 1X3hHk-0008Au-Cu; Sun, 06 Jul 2014 17:54:57 +1000
Message-ID: <53B90103.7010907@nteczone.com>
Date: Sun, 06 Jul 2014 17:55:47 +1000
From: Christian Groves <Christian.Groves@nteczone.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
References: <7594FB04B1934943A5C02806D1A2204B1D35B976@ESESSMB209.ericsson.se>, <A02215DA-CAE9-4D31-A70C-8829083D3DA1@lurchi.franken.de> <7594FB04B1934943A5C02806D1A2204B1D35CD5E@ESESSMB209.ericsson.se> <53A7BF3E.8010505@nteczone.com> <F1115DA9-27C4-4D19-9CD3-7B86736F9566@lurchi.franken.de>
In-Reply-To: <F1115DA9-27C4-4D19-9CD3-7B86736F9566@lurchi.franken.de>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - cserver5.myshophosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - nteczone.com
X-Get-Message-Sender-Via: cserver5.myshophosting.com: authenticated_id: christian.groves@nteczone.com
X-Source:
X-Source-Args:
X-Source-Dir:
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/A5xvUsxWOQSPN9gIG-6QN_fbF0Q
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] WGLC for data channel drafts - sub-protocol usage
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Jul 2014 07:56:05 -0000

The definition of Token is ASCII not UTF-8.

Christian

On 5/07/2014 3:23 AM, Michael Tuexen wrote:
> On 23 Jun 2014, at 07:46, Christian Groves <Christian.Groves@NTECZONE.COM> wrote:
>
>> Do you need that statement?
> I guess formally you don't. But having it make it simpler for the reader...
>
> Best regards
> Michael
>> [RFC6455] section 11.5 says:
>>
>>    Subprotocol Identifier
>>       The identifier of the subprotocol, as will be used in the
>>       |Sec-WebSocket-Protocol| header field registered in Section 11.3.4
>>       of this specification.  The value must conform to the requirements
>>       given in item 10 of Section 4.1 of this specification -- namely,
>>       the value must be a token as defined by RFC 2616 [RFC2616].
>>
>> "Token" is RFC2616 is defined as:
>>      CHAR           = <any US-ASCII character (octets 0 - 127)>
>>      token          = 1*<any CHAR except CTLs or separators>
>>
>> Regards, Christian
>>
>> On 12/06/2014 3:24 AM, Christer Holmberg wrote:
>>> Hi Michael,
>>>
>>> I agree that we need to keep text about the encoding.
>>>
>>> Regards,
>>>
>>> Christer
>>>
>>> ________________________________________
>>> From: Michael Tuexen [Michael.Tuexen@lurchi.franken.de]
>>> Sent: Wednesday, 11 June 2014 5:28 PM
>>> To: Christer Holmberg
>>> Cc: Ted Hardie; rtcweb@ietf.org
>>> Subject: Re: [rtcweb] WGLC for data channel drafts - sub-protocol usage
>>>
>>> On 10 Jun 2014, at 21:22, Christer Holmberg <christer.holmberg@ericsson.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> A comment on draft-ietf-rtcweb-data-protocol-06:
>>>>
>>>> Section 5.1 says:
>>>>
>>>> "Protocol: Variable Length (sequence of characters)
>>>>        The sub-protocol for the channel as a UTF-8 encoded string.  If
>>>>        this is an empty string the protocol is unspecified.  If it is a
>>>>        non-empty string, it specifies an protocol registered in the
>>>>        'WebSocket Subprotocol Name Registry' created in [RFC6455]."
>>>>
>>>>
>>>> I think "The sub-protocol for the channel as a UTF-8 encoded string." part is a little confusing, because there is no such thing as sub-protocol in DCEP itself (DCEP only uses the WebSocket sub-protocol registry for registering DCEP *protocol* values).
>>>>
>>>> Perhaps we could just remove the sentence, and keep:
>>>>
>>>> "Protocol: Variable Length (sequence of characters)
>>>>        If this is an empty string the protocol is unspecified.  If it is a
>>>>        non-empty string, it specifies an protocol registered in the
>>>>        'WebSocket Subprotocol Name Registry' created in [RFC6455]."
>>>>
>>>> Section 4 gives more information about the usage of the protocol.
>>> Do you intend to drop the statement about the UTF-8 encoding?
>>> I think we should keep a statement about the encoding.
>>>
>>> Best regards
>>> Michael
>>>> (Alternatively, we could use sub-protocol terminology also in DCEP)
>>>>
>>>> Regards,
>>>>
>>>> Christer
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> From: rtcweb [rtcweb-bounces@ietf.org] on behalf of Ted Hardie [ted.ietf@gmail.com]
>>>> Sent: Tuesday, 10 June, 2014 9:52 PM
>>>> To: rtcweb@ietf.org
>>>> Subject: [rtcweb] WGLC for data channel drafts
>>>>
>>>> Dear WG,
>>>>
>>>> This starts a working group last call for our core Data Channel drafts:
>>>>
>>>> draft-ietf-rtcweb-data-protocol-06.txt
>>>> draft-ietf-rtcweb-data-channel-10.txt
>>>>
>>>> Please review them in detail, especially for areas which may be of concern to the broader IETF community.  This WGLC will end on June 27, 2014.
>>>>
>>>> Ted, Sean, Cullen
>>>> _______________________________________________
>>>> rtcweb mailing list
>>>> rtcweb@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/rtcweb
>>> _______________________________________________
>>> rtcweb mailing list
>>> rtcweb@ietf.org
>>> https://www.ietf.org/mailman/listinfo/rtcweb
>>>
>> _______________________________________________
>> rtcweb mailing list
>> rtcweb@ietf.org
>> https://www.ietf.org/mailman/listinfo/rtcweb
>>
>