Re: [hybi] I-D ACTION:draft-ietf-hybi-thewebsocketprotocol-08.txt

Takeshi Yoshino <tyoshino@google.com> Tue, 14 June 2011 06:03 UTC

Return-Path: <tyoshino@google.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 3641B11E8120 for <hybi@ietfa.amsl.com>; Mon, 13 Jun 2011 23:03:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.676
X-Spam-Level:
X-Spam-Status: No, score=-105.676 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ooe-oOrpECWa for <hybi@ietfa.amsl.com>; Mon, 13 Jun 2011 23:03:18 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.67]) by ietfa.amsl.com (Postfix) with ESMTP id 4EC8511E80FC for <hybi@ietf.org>; Mon, 13 Jun 2011 23:03:17 -0700 (PDT)
Received: from kpbe20.cbf.corp.google.com (kpbe20.cbf.corp.google.com [172.25.105.84]) by smtp-out.google.com with ESMTP id p5E62u53032055 for <hybi@ietf.org>; Mon, 13 Jun 2011 23:02:56 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1308031377; bh=cAK2dhyyjsvi4yGQNGuxq1JzVsY=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=CTizfjnkA2vQomI/HsihvW0keMCw/+lApcIP6O7b8got1ZYWisFW603sF2uFBzZDl IOyE2xfUnDB5EB1Y/f4bA==
Received: from ywo7 (ywo7.prod.google.com [10.192.15.7]) by kpbe20.cbf.corp.google.com with ESMTP id p5E62srP010463 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <hybi@ietf.org>; Mon, 13 Jun 2011 23:02:54 -0700
Received: by ywo7 with SMTP id 7so3506132ywo.39 for <hybi@ietf.org>; Mon, 13 Jun 2011 23:02:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=cFUUWvIzl0NlQjkNx4w+bQ9DkPCKNoOWyIt9r8aXzms=; b=SLYUOmu9ALEbASewioENJD132NWS37YZfxKri5h1xfnAUxXa52RJBfH1A6HG5iFkU4 KFde20oG3Wzam3qjqgKQ==
DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=lq5O5QHJhAiwOOov0appASjx5CW45xc1UII88oDHt2YomDBmxBQG8voCIJCMxKzr5x 4DjgISLDJtARuxP4EJCQ==
Received: by 10.150.69.27 with SMTP id r27mr7175520yba.114.1308031374279; Mon, 13 Jun 2011 23:02:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.150.50.13 with HTTP; Mon, 13 Jun 2011 23:02:34 -0700 (PDT)
In-Reply-To: <BANLkTimMA73hi-gAUtAyfJ+8ky0Onk+5Dg@mail.gmail.com>
References: <20110608173012.14596.50398.idtracker@ietfa.amsl.com> <BANLkTi=mEDLtuPJsc6eJThr-QUuKSFH-dw@mail.gmail.com> <BANLkTikmnMZ+e0Pv6L5F3aEj0u0mXC6FOX+ARaS0eoGitJ3WqQ@mail.gmail.com> <BANLkTimMA73hi-gAUtAyfJ+8ky0Onk+5Dg@mail.gmail.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Tue, 14 Jun 2011 15:02:34 +0900
Message-ID: <BANLkTi=hkSSQZ-QRpdY_VABaMAPozsv7fZRt7eARnZgXEzngUA@mail.gmail.com>
To: =?ISO-8859-1?Q?I=F1aki_Baz_Castillo?= <ibc@aliax.net>
Content-Type: multipart/alternative; boundary=000e0cd5905a6b46d004a5a5c98e
X-System-Of-Record: true
Cc: "hybi@ietf.org" <hybi@ietf.org>, Greg Wilkins <gregw@intalio.com>
Subject: Re: [hybi] I-D ACTION:draft-ietf-hybi-thewebsocketprotocol-08.txt
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 14 Jun 2011 06:03:19 -0000

On Sat, Jun 11, 2011 at 14:49, Iñaki Baz Castillo <ibc@aliax.net> wrote:

> Page 12 says:
>
>   if Example Corporation were to create a Chat subprotocol to
>   be implemented by many servers around the Web, they could name it
>   "chat.example.com".  If the Example Organization called their
>   competing subprotocol "example.org's chat protocol", then the two
>   subprotocols could be implemented by servers simultaneously
>
> Of course "example.org's chat protocol" is not a valid token according
> to RFC 2616 grammar:
>
>  CHAR           = <any US-ASCII character (octets 0 - 127)>
>  token            = 1*<any CHAR except CTLs or separators>
>
>
I think this paragraph should be fixed by adding 'by using "chat.example.org"
for their subprotocol name' right after "example.org's chat protocol".
Maybe, that's what the editor originally wanted this text to mean.


> So there are two options:
>
> 1) Make Sec-WebSocket-Protocol grammar 1#token (as defined now). In
> this case protocol values MUST be token (no quoted strings, neither
> separators). Then fix example in page 12.
>

I prefer 1) too.


> 2) Make Sec-WebSocket-Protocol grammar as follows:   1#( quoted-string |
> token )
> In this way both examples in page 12 are valid.
>
> I strongly prefer option 1 (I don't consider that spaces or UTF'8
> multibyte symbols are needed for naming a protocol).