Re: [hybi] header field ABNF, was: I-D Action: draft-ietf-hybi-thewebsocketprotocol-11.txt

Julian Reschke <julian.reschke@gmx.de> Wed, 24 August 2011 14:42 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 F399721F8B5D for <hybi@ietfa.amsl.com>; Wed, 24 Aug 2011 07:42:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.358
X-Spam-Level:
X-Spam-Status: No, score=-104.358 tagged_above=-999 required=5 tests=[AWL=-1.759, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 SqqMwcFHhwjm for <hybi@ietfa.amsl.com>; Wed, 24 Aug 2011 07:42:19 -0700 (PDT)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by ietfa.amsl.com (Postfix) with SMTP id 9F09C21F8B4E for <hybi@ietf.org>; Wed, 24 Aug 2011 07:42:18 -0700 (PDT)
Received: (qmail invoked by alias); 24 Aug 2011 14:43:28 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp024) with SMTP; 24 Aug 2011 16:43:28 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19KUQVOL9lKXbV6Bv1s3AygL1vXviQF5y7lhrjLnC LUlUV7SCiYVluE
Message-ID: <4E550E0D.6050107@gmx.de>
Date: Wed, 24 Aug 2011 16:43:25 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0
MIME-Version: 1.0
To: Takeshi Yoshino <tyoshino@google.com>
References: <20110823102713.23958.79728.idtracker@ietfa.amsl.com> <4E538213.7020207@isode.com> <CAH9hSJaDcOEf0n59PSqfWJcEpLBKBGssX13FNViCUBFc2vxMXg@mail.gmail.com> <4E5421FF.90101@isode.com> <4E54D0AD.3050201@gmx.de> <4E54DF3E.6050207@isode.com> <CAH9hSJa7F5fLH+niD72McRA0RiHWJP62GKYYA7cyZK=fOH54mw@mail.gmail.com>
In-Reply-To: <CAH9hSJa7F5fLH+niD72McRA0RiHWJP62GKYYA7cyZK=fOH54mw@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: hybi@ietf.org
Subject: Re: [hybi] header field ABNF, was: I-D Action: draft-ietf-hybi-thewebsocketprotocol-11.txt
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: Wed, 24 Aug 2011 14:42:20 -0000

On 2011-08-24 16:21, Takeshi Yoshino wrote:
> On Wed, Aug 24, 2011 at 20:23, Alexey Melnikov
> <alexey.melnikov@isode.com <mailto:alexey.melnikov@isode.com>> wrote:
>
>     Julian Reschke wrote:
>
>         On 2011-08-23 23:56, Alexey Melnikov wrote:
>
>             ...
>
>                 Sec-WebSocket-Accept = "Sec-WebSocket-Accept" ":"
>                 base64-value
>
>
>             I suggest we do whatever RFC 2616 is doing. I will double check.
>             ...
>
>
>         I strongly suggest to do what HTTPbis is doing; just specify the
>         ABNF for the field *value*.
>
>
> Thanks Julian. I just took a look at HTTPbis docs.
>
> So, the WebSocket spec points RFC 2616 but uses ones in HTTPbis? I think
> it's not friendly for readers. What's the plan for final publish? Will
> the reference be replaced with HTTPbis?

...that would imply waiting for HTTPbis; I doubt the WG wants to do this.

My recommendation is to use RFC2616 grammar constructs, but follow the 
HTTPbis style of only defining the ABNF for the header value.

 > ...

Best regards, Julian