Re: [hybi] Sec-WebSocket-Extensions field spec. contradiction

Iñaki Baz Castillo <ibc@aliax.net> Thu, 08 September 2011 09:17 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 8762D21F8A67 for <hybi@ietfa.amsl.com>; Thu, 8 Sep 2011 02:17:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.648
X-Spam-Level:
X-Spam-Status: No, score=-2.648 tagged_above=-999 required=5 tests=[AWL=0.029, 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 JmytuCUBbbKv for <hybi@ietfa.amsl.com>; Thu, 8 Sep 2011 02:17:30 -0700 (PDT)
Received: from mail-qw0-f51.google.com (mail-qw0-f51.google.com [209.85.216.51]) by ietfa.amsl.com (Postfix) with ESMTP id F08E321F8A64 for <hybi@ietf.org>; Thu, 8 Sep 2011 02:17:29 -0700 (PDT)
Received: by qwm25 with SMTP id 25so449463qwm.38 for <hybi@ietf.org>; Thu, 08 Sep 2011 02:19:21 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.28.200 with SMTP id n8mr305132qcc.291.1315473561469; Thu, 08 Sep 2011 02:19:21 -0700 (PDT)
Received: by 10.229.79.207 with HTTP; Thu, 8 Sep 2011 02:19:21 -0700 (PDT)
In-Reply-To: <4E680086.80204@isode.com>
References: <CALkdAkg79HMuP3Sbp=H25fFxu1f587kNO=QT4-R6eT2rJEsEJg@mail.gmail.com> <CALiegf=UnDRccUSk9ifPZC32LQx=VMJGN0Hu7MJ=yTgmfiqVGw@mail.gmail.com> <4E680086.80204@isode.com>
Date: Thu, 08 Sep 2011 11:19:21 +0200
Message-ID: <CALiegf=4YYNUp4STZJ1RajGQK8dvtYmaz8YnjfJQJfsL3kk23Q@mail.gmail.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: Server-Initiated HTTP <hybi@ietf.org>
Subject: Re: [hybi] Sec-WebSocket-Extensions field spec. contradiction
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: Thu, 08 Sep 2011 09:17:30 -0000

2011/9/8 Alexey Melnikov <alexey.melnikov@isode.com>:
> Should we do the same for Sec-WebSocket-Protocol and possibly
> Sec-WebSocket-Version (on failure)?

Ir depends on how the spec defines the syntax for those headers. But
usually, any header allowing multiple values separated by comma should
also allow N headers with same header name.

So in the case of Sec-WebSocket-Protocol IMHO it should allow it.

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