Re: [hybi] Comments about draft-13

Iñaki Baz Castillo <ibc@aliax.net> Tue, 06 September 2011 17:38 UTC

Return-Path: <ibc@aliax.net>
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 CE7B021F8C86 for <hybi@ietfa.amsl.com>; Tue, 6 Sep 2011 10:38:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.647
X-Spam-Level:
X-Spam-Status: No, score=-2.647 tagged_above=-999 required=5 tests=[AWL=0.030, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nzPjCANG8YXG for <hybi@ietfa.amsl.com>; Tue, 6 Sep 2011 10:38:50 -0700 (PDT)
Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by ietfa.amsl.com (Postfix) with ESMTP id 307E021F8C83 for <hybi@ietf.org>; Tue, 6 Sep 2011 10:38:50 -0700 (PDT)
Received: by qwb8 with SMTP id 8so5640683qwb.25 for <hybi@ietf.org>; Tue, 06 Sep 2011 10:40:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.47.129 with SMTP id n1mr4045153qcf.215.1315330837018; Tue, 06 Sep 2011 10:40:37 -0700 (PDT)
Received: by 10.229.79.207 with HTTP; Tue, 6 Sep 2011 10:40:36 -0700 (PDT)
In-Reply-To: <CALiegfnru1MDVLZAQW9cxrR4D=Wfu+MAEzn0BHfSu_v31ztvrg@mail.gmail.com>
References: <CALiegfkUMDfuRC+16ZcLo__2OqAcQ1UVDGa_610ykEAe6yZViw@mail.gmail.com> <CALiegf=wO6w5UMLO-hsn8o0cX3__SuxMDrgqvScuS6QWdNhptw@mail.gmail.com> <A59BAA80-CD38-48C4-A113-C1493072D079@bbn.com> <CALiegfnru1MDVLZAQW9cxrR4D=Wfu+MAEzn0BHfSu_v31ztvrg@mail.gmail.com>
Date: Tue, 06 Sep 2011 19:40:36 +0200
Message-ID: <CALiegfnjXqggJhZG2YHSAQLK+uPXTxyKo3N=K4qE6OdjwieNtg@mail.gmail.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
To: "Richard L. Barnes" <rbarnes@bbn.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: hybi@ietf.org
Subject: Re: [hybi] Comments about draft-13
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, 06 Sep 2011 17:38:50 -0000

2011/9/6 Iñaki Baz Castillo <ibc@aliax.net>:
> 2011/9/6 Richard L. Barnes <rbarnes@bbn.com>:
>> Also, to re-iterate a comment I made earlier, "Sec-Websocket-Protocol" should just be "Websocket-Protocol", since it is not "Sec" -- scripts can set the value pretty much directly.
>
> +1

Well, scripts can set the value pretty much directly but at least
JavaScript API for WebSocket requires such a value to be an string or
an array of strings. I expect that a JS code cannot set binary or
custom value in "Sec-Websocket-Protocol" header.



-- 
Iñaki Baz Castillo
<ibc@aliax.net>