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

Greg Wilkins <gregw@webtide.com> Wed, 01 September 2010 23:18 UTC

Return-Path: <gregw@webtide.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 4B9153A69E5 for <hybi@core3.amsl.com>; Wed, 1 Sep 2010 16:18:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.759
X-Spam-Level:
X-Spam-Status: No, score=-1.759 tagged_above=-999 required=5 tests=[AWL=0.218, 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 KBEYx2Wgsy+e for <hybi@core3.amsl.com>; Wed, 1 Sep 2010 16:18:25 -0700 (PDT)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id 113CB3A69A5 for <hybi@ietf.org>; Wed, 1 Sep 2010 16:18:24 -0700 (PDT)
Received: by fxm18 with SMTP id 18so5897636fxm.31 for <hybi@ietf.org>; Wed, 01 Sep 2010 16:18:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.239.154.204 with SMTP id f12mr472880hbc.143.1283383134735; Wed, 01 Sep 2010 16:18:54 -0700 (PDT)
Received: by 10.239.186.139 with HTTP; Wed, 1 Sep 2010 16:18:54 -0700 (PDT)
In-Reply-To: <AANLkTi=_1m36ThFZTH_aGE_Unz0KTeexJq_74UGr2j+u@mail.gmail.com>
References: <20100901224502.0519B3A687C@core3.amsl.com> <AANLkTikP1CF22fL0rBniXmrxEoBAbTNfzP9kyiNA4nbb@mail.gmail.com> <AANLkTi=_1m36ThFZTH_aGE_Unz0KTeexJq_74UGr2j+u@mail.gmail.com>
Date: Thu, 02 Sep 2010 09:18:54 +1000
Message-ID: <AANLkTikmYvJaZnc-SAaGm1Xztn31DqTnttonKFNBvT86@mail.gmail.com>
From: Greg Wilkins <gregw@webtide.com>
To: hybi <hybi@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
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:18:26 -0000

Adam,

my proposal was not to add versioning to the protocol - as I know some
think it is an anti pattern.

I just want to be able to implement the next draft without breaking
all my users that have been working on the last draft.   So my
proposal is only for a draft version to be added by implementers as
non-standard convenience at this time. The lack of a draft version can
be taken to mean the final stable version.

How else do you expect servers to track the drafts and deal with the
various browser implementations out there?

regards





On 2 September 2010 09:14, Adam Barth <ietf@adambarth.com> wrote:
> 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
>>
>