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

Julian Reschke <julian.reschke@gmx.de> Tue, 12 July 2011 08:51 UTC

Return-Path: <julian.reschke@gmx.de>
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 BA7EB21F891D for <hybi@ietfa.amsl.com>; Tue, 12 Jul 2011 01:51:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.097
X-Spam-Level:
X-Spam-Status: No, score=-104.097 tagged_above=-999 required=5 tests=[AWL=-1.798, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 jk5aIooP4J6k for <hybi@ietfa.amsl.com>; Tue, 12 Jul 2011 01:51:53 -0700 (PDT)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by ietfa.amsl.com (Postfix) with SMTP id D604021F8906 for <hybi@ietf.org>; Tue, 12 Jul 2011 01:51:52 -0700 (PDT)
Received: (qmail invoked by alias); 12 Jul 2011 08:51:50 -0000
Received: from p508FD648.dip.t-dialin.net (EHLO [192.168.178.36]) [80.143.214.72] by mail.gmx.net (mp066) with SMTP; 12 Jul 2011 10:51:50 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+VdqgrvfGV6qMb+qHZt/++aQUMF9tGeq6BIO0uT6 rWJ6CXC42T/MZR
Message-ID: <4E1C0B1F.1030305@gmx.de>
Date: Tue, 12 Jul 2011 10:51:43 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version: 1.0
To: Iñaki Baz Castillo <ibc@aliax.net>
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> <CALiegfmKK+Rka+eqU8=3zFVkL12wSh_w+VjoDxOYurgrmob_+A@mail.gmail.com>
In-Reply-To: <CALiegfmKK+Rka+eqU8=3zFVkL12wSh_w+VjoDxOYurgrmob_+A@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
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:51:53 -0000

On 2011-07-12 10:23, Iñaki Baz Castillo wrote:
> 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 :)

But if they *are* re-used, those recipients will accept quoted-strings 
as well (thus accepting invalid header fields). This could be harmless, 
or it could cause them to be used in practice, forcing other recipients 
to accept them as well.

> ...

Best regards, Julian