Re: [hybi] On changing Sec-WebSocket-Origin to Origin
Alexey Melnikov <alexey.melnikov@isode.com> Tue, 30 August 2011 09:43 UTC
Return-Path: <alexey.melnikov@isode.com>
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 93FBE21F8B54 for <hybi@ietfa.amsl.com>; Tue, 30 Aug 2011 02:43:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.554
X-Spam-Level:
X-Spam-Status: No, score=-102.554 tagged_above=-999 required=5 tests=[AWL=0.045, 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 e+mLANl2ZWiF for <hybi@ietfa.amsl.com>; Tue, 30 Aug 2011 02:43:20 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by ietfa.amsl.com (Postfix) with ESMTP id C7A6B21F8B8A for <hybi@ietf.org>; Tue, 30 Aug 2011 02:43:19 -0700 (PDT)
Received: from [192.168.1.124] ((unknown) [62.3.217.253]) by rufus.isode.com (submission channel) via TCP with ESMTPA id <TlyxDQBpJmO4@rufus.isode.com>; Tue, 30 Aug 2011 10:44:45 +0100
X-SMTP-Protocol-Errors: NORDNS
Message-ID: <4E5CB106.8020108@isode.com>
Date: Tue, 30 Aug 2011 10:44:38 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Len Holgate <len.holgate@gmail.com>
References: <4E47FDB5.6070207@isode.com><CABLsOLASJ_EWM3gnsVPkWuSkJuH+ZrexLBJJDVGjxxhmjif+Kg@mail.gmail.com><4E482192.7050507@gmail.com> <CAH_y2NFw=O5bm5FbkJ+60fCWuy3fKv1xrsnHf7JgE9cOB8YOvw@mail.gmail.com> <0ba401cc66e8$b7293a40$0a00a8c0@Venus>
In-Reply-To: <0ba401cc66e8$b7293a40$0a00a8c0@Venus>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: 'Hybi' <hybi@ietf.org>
Subject: Re: [hybi] On changing Sec-WebSocket-Origin to Origin
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, 30 Aug 2011 09:43:20 -0000
Hi, Len Holgate wrote: >Could someone explain the rationale behind how changing the header field for >origin from Sec-WebSocket-Origin to Origin in v11 of the draft doesn't >require a protocol version change? > >Surely an implementation of draft 08 which advertises itself as >Sec-WebSocket-Version: 8 can now fail to interoperate with an implementation >of draft 11 or 12 which also avertises itself as Sec-WebSocket-Version: 8. > >At the very least, a draft 08 implementation will now incorrectly interpret >browser clients (implementing 11 or later) as non browser clients and if >there are any draft 08 implementations that use origin specific "access >control"... > Maybe not bumping the version number was a mistake. The server can handle either type of client, but this is not explicitly mentioned in the draft. >Likewise the Sec-WebSocket-Version change also breaks protocol compatibility >in that a draft 08 client would expect the response from the server to >include the WebSocket-Version header and a draft 11 server only has to send >it if the handshake fails... > I don't think I've made any intentional change in this area, I think I've only clarified the text that was already in the document. Please describe the behaviour you would like to see.
- Re: [hybi] Removing Sec-WebSocket-Origin header f… Alexey Melnikov
- Re: [hybi] Removing Sec-WebSocket-Origin header f… Philipp Serafin
- [hybi] Removing Sec-WebSocket-Origin header field… Alexey Melnikov
- Re: [hybi] Removing Sec-WebSocket-Origin header f… John Tamplin
- Re: [hybi] Removing Sec-WebSocket-Origin header f… Greg Wilkins
- Re: [hybi] Removing Sec-WebSocket-Origin header f… Simon Pieters
- [hybi] On changing Sec-WebSocket-Origin to Origin Len Holgate
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Alexey Melnikov
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Len Holgate
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… John Tamplin
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Len Holgate
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Brian
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Patrick McManus
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Brian McKelvey
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Len Holgate
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Tobias Oberstein
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Alexey Melnikov
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… John Fallows