Re: [hybi] I-D Action:draft-ietf-hybi-thewebsocketprotocol-01.txt

Adam Barth <ietf@adambarth.com> Wed, 01 September 2010 23:16 UTC

Return-Path: <ietf@adambarth.com>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AA6D23A6898 for <hybi@core3.amsl.com>; Wed, 1 Sep 2010 16:16:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.927
X-Spam-Level:
X-Spam-Status: No, score=-1.927 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DP2DbAlc8POx for <hybi@core3.amsl.com>; Wed, 1 Sep 2010 16:16:08 -0700 (PDT)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by core3.amsl.com (Postfix) with ESMTP id 0493D3A6872 for <hybi@ietf.org>; Wed, 1 Sep 2010 16:16:07 -0700 (PDT)
Received: by vws10 with SMTP id 10so7561897vws.31 for <hybi@ietf.org>; Wed, 01 Sep 2010 16:16:37 -0700 (PDT)
Received: by 10.220.157.139 with SMTP id b11mr4554900vcx.40.1283382904522; Wed, 01 Sep 2010 16:15:04 -0700 (PDT)
Received: from mail-gw0-f44.google.com (mail-gw0-f44.google.com [74.125.83.44]) by mx.google.com with ESMTPS id e18sm3754243vcf.36.2010.09.01.16.14.45 (version=SSLv3 cipher=RC4-MD5); Wed, 01 Sep 2010 16:14:45 -0700 (PDT)
Received: by gwb20 with SMTP id 20so3918584gwb.31 for <hybi@ietf.org>; Wed, 01 Sep 2010 16:14:44 -0700 (PDT)
Received: by 10.231.154.75 with SMTP id n11mr9844511ibw.40.1283382884631; Wed, 01 Sep 2010 16:14:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.231.187.218 with HTTP; Wed, 1 Sep 2010 16:14:14 -0700 (PDT)
In-Reply-To: <AANLkTikP1CF22fL0rBniXmrxEoBAbTNfzP9kyiNA4nbb@mail.gmail.com>
References: <20100901224502.0519B3A687C@core3.amsl.com> <AANLkTikP1CF22fL0rBniXmrxEoBAbTNfzP9kyiNA4nbb@mail.gmail.com>
From: Adam Barth <ietf@adambarth.com>
Date: Wed, 01 Sep 2010 16:14:14 -0700
Message-ID: <AANLkTi=_1m36ThFZTH_aGE_Unz0KTeexJq_74UGr2j+u@mail.gmail.com>
To: Greg Wilkins <gregw@webtide.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: hybi <hybi@ietf.org>
Subject: Re: [hybi] I-D Action:draft-ietf-hybi-thewebsocketprotocol-01.txt
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 01 Sep 2010 23:16:10 -0000

Please don't add versioning to the protocol.  Versioning is a
anti-pattern for the web.

Adam


On Wed, Sep 1, 2010 at 4:09 PM, Greg Wilkins <gregw@webtide.com> wrote:
> Ian,
>
> thanks for this first draft, and I hope it indicates a new phase of
> progress for the WG.
>
>
> I'll be updating Jetty to support this draft immediately, but we have
> an issue that there is no version information in the handshake.  Thus
> in order to support this version of the draft, I risk breaking support
> for previous versions, which is difficult as there are already
> deployed experimental applications in the wild, interacting with real
> clients with browsers beyond the control of the deployers.
>
> Currently user-agent is not sent, so I can't even use that to
> determine what version of the draft to use.
>
> I know a standard version header is not widely accepted, but could we
> implementers perhaps agree a temporary header just during this draft
> phase. Something like:
>
>  Sec-WebSocket-Draft: 1
>
> Unless there are howls of complaint, I'll implement my server to look
> for such a field and to use it as a hint when selecting the parser to
> use.
>
> cheers
>
>
>
> On 2 September 2010 08:45,  <Internet-Drafts@ietf.org> wrote:
>> A New Internet-Draft is available from the on-line Internet-Drafts directories.
>> This draft is a work item of the BiDirectional or Server-Initiated HTTP Working Group of the IETF.
>>
>>
>>        Title           : The WebSocket protocol
>>        Author(s)       : I. Fette
>>        Filename        : draft-ietf-hybi-thewebsocketprotocol-01.txt
>>        Pages           : 57
>>        Date            : 2010-09-01
>>
>> The WebSocket protocol enables two-way communication between a user
>> agent running untrusted code running in a controlled environment to a
>> remote host that has opted-in to communications from that code.  The
>> security model used for this is the Origin-based security model
>> commonly used by Web browsers.  The protocol consists of an initial
>> handshake followed by basic message framing, layered over TCP.  The
>> goal of this technology is to provide a mechanism for browser-based
>> applications that need two-way communication with servers that does
>> not rely on opening multiple HTTP connections (e.g. using
>> XMLHttpRequest or <iframe>s and long polling).
>>
>> Please send feedback to the hybi@ietf.org mailing list.Note
>>
>> This draft is meant to reflect changes in direction in the HyBi
>> working group.  There is not yet consensus on everything in this
>> draft.  Specifically, details about the framing are still under
>> discussion, however this draft is much closer to what the group is
>> discussing than the previous draft.  There have also been proposals
>> to change the handshake, so the handshake is also not in a final
>> form.
>>
>> A URL for this Internet-Draft is:
>> http://www.ietf.org/internet-drafts/draft-ietf-hybi-thewebsocketprotocol-01.txt
>>
>> Internet-Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet-drafts/
>>
>> Below is the data which will enable a MIME compliant mail reader
>> implementation to automatically retrieve the ASCII version of the
>> Internet-Draft.
>>
>>
>> _______________________________________________
>> hybi mailing list
>> hybi@ietf.org
>> https://www.ietf.org/mailman/listinfo/hybi
>>
>>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>