Re: [hybi] Last Call: <draft-ietf-hybi-thewebsocketprotocol-10.txt> (The WebSocket protocol) to Proposed Standard

Iñaki Baz Castillo <ibc@aliax.net> Tue, 12 July 2011 08:23 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 5950521F90DE; Tue, 12 Jul 2011 01:23:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.677
X-Spam-Level:
X-Spam-Status: No, score=-2.677 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
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 TD-wUeJm40fJ; Tue, 12 Jul 2011 01:23:08 -0700 (PDT)
Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by ietfa.amsl.com (Postfix) with ESMTP id 9A52421F90DB; Tue, 12 Jul 2011 01:23:08 -0700 (PDT)
Received: by qyk9 with SMTP id 9so2085467qyk.10 for <multiple recipients>; Tue, 12 Jul 2011 01:23:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.224.173.70 with SMTP id o6mr4688405qaz.322.1310458988080; Tue, 12 Jul 2011 01:23:08 -0700 (PDT)
Received: by 10.229.228.9 with HTTP; Tue, 12 Jul 2011 01:23:07 -0700 (PDT)
In-Reply-To: <4E1C01F3.4070906@gmx.de>
References: <20110711140229.17432.23519.idtracker@ietfa.amsl.com> <4E1BD054.7010103@gmail.com> <CALiegf=JjAYgjQRNh3-5NNvEP-cbAzB4hnuMV2R2WpEo3=1_ew@mail.gmail.com> <4E1C01F3.4070906@gmx.de>
Date: Tue, 12 Jul 2011 10:23:07 +0200
Message-ID: <CALiegfmKK+Rka+eqU8=3zFVkL12wSh_w+VjoDxOYurgrmob_+A@mail.gmail.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
To: Julian Reschke <julian.reschke@gmx.de>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: hybi@ietf.org, Mykyta Yevstifeyev <evnikita2@gmail.com>, ietf@ietf.org, draft-ietf-hybi-thewebsocketprotocol@tools.ietf.org
Subject: Re: [hybi] Last Call: <draft-ietf-hybi-thewebsocketprotocol-10.txt> (The WebSocket protocol) to Proposed Standard
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, 12 Jul 2011 08:23:09 -0000

2011/7/12 Julian Reschke <julian.reschke@gmx.de>:
> That being said, I'm not happy with
>
>         extension-param = token [ "=" token ]
>
> In HTTP header fields, parameters usually support both token and
> quoted-string form.

Right.


> Making this special means that existing header field parser code can't be
> easily re-used.

Well, not exaclty as any parser supporting tokens and quoted-strings
would also parse "just" tokens :)
However I agree that making new/custom grammar for a simple header
makes no sense.


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