Re: [hybi] comments on draft-ietf-hybi-websocket-requirements-00

"Anne van Kesteren" <annevk@opera.com> Sat, 10 July 2010 05:57 UTC

Return-Path: <annevk@opera.com>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 42B103A6907 for <hybi@core3.amsl.com>; Fri, 9 Jul 2010 22:57:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fNysHyDnYCDg for <hybi@core3.amsl.com>; Fri, 9 Jul 2010 22:57:37 -0700 (PDT)
Received: from smtp.opera.com (smtp.opera.com [213.236.208.81]) by core3.amsl.com (Postfix) with ESMTP id D31603A68B6 for <hybi@ietf.org>; Fri, 9 Jul 2010 22:57:36 -0700 (PDT)
Received: from annevk-t60 (5355737B.cable.casema.nl [83.85.115.123]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o6A5vOA7024302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 10 Jul 2010 05:57:40 GMT
Content-Type: text/plain; charset="utf-8"; format="flowed"; delsp="yes"
To: hybi@ietf.org, gabriel montenegro <g_e_montenegro@yahoo.com>
References: <615374.65181.qm@web82607.mail.mud.yahoo.com> <op.vfj9vfna64w2qv@annevk-t60> <564970.65690.qm@web82607.mail.mud.yahoo.com>
Date: Sat, 10 Jul 2010 07:57:25 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Anne van Kesteren <annevk@opera.com>
Organization: Opera Software ASA
Message-ID: <op.vfl5hj0864w2qv@annevk-t60>
In-Reply-To: <564970.65690.qm@web82607.mail.mud.yahoo.com>
User-Agent: Opera Mail/10.70 (Linux)
Subject: Re: [hybi] comments on draft-ietf-hybi-websocket-requirements-00
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sat, 10 Jul 2010 05:57:38 -0000

On Sat, 10 Jul 2010 03:30:10 +0200, gabriel montenegro  
<g_e_montenegro@yahoo.com> wrote:
> [gm] Hmmm... I was under the impression that the whole point was to
> start with HTTP and then via the Upgrade directive move into the
> WebSocket protocol. Or are you saying that there might be other ways
> to start other than HTTP?

Yes, but mostly I'm saying that the requirements document should not  
constrain the design to this level of detail.


>> Why should we constrain size in
>> the requirements?
>
> [gm] Please see my response to Greg's message.

Please see above. :-)


>> Suggest rewording as follows:
>>     REQ. 11:  During the
>> handshake ,the WebSocket Client MUST be able
>> to send one or more
>> WebSocket sub-protocol proposals to the server
>> so that the server can
>> select one.,This results in the use of a specific
>> WebSocket
>> sub-protocol.
>
> I don't think this is needed. It's also something that can
> easily be added later if application authors find a need for
> it.
>
> [gm] Are you disagreeing with the proposed rewording or with the original
> wording?:
>
> "   REQ. 11:  The WebSocket Client MUST be able to request the server,
>       during the handshake, to use a specific WebSocket sub-protocol.
> "
>
> The rewording did not change the basic requirement for sub-protocol  
> support, it was just adding more text as to how that might happen.

The rewording suggests the client transmits one or more sub-protocols. I  
don't think we necessarily need to go there (too complex for v1 and  
probably not needed at all) and the requirements document should not  
constrain that. Having said that, I'm not even sure it makes sense to talk  
about sub-protocols in the requirements document. Requirements should be  
high-level.


-- 
Anne van Kesteren
http://annevankesteren.nl/