Re: [hybi] Multiplexing extension spec draft 03

Julian Reschke <julian.reschke@gmx.de> Tue, 28 February 2012 23:11 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 3BB0C21F8518 for <hybi@ietfa.amsl.com>; Tue, 28 Feb 2012 15:11:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.305
X-Spam-Level:
X-Spam-Status: No, score=-104.305 tagged_above=-999 required=5 tests=[AWL=-1.706, 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 oNg0evqmV+t4 for <hybi@ietfa.amsl.com>; Tue, 28 Feb 2012 15:11:29 -0800 (PST)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by ietfa.amsl.com (Postfix) with SMTP id B4F9821E8035 for <hybi@ietf.org>; Tue, 28 Feb 2012 15:11:28 -0800 (PST)
Received: (qmail invoked by alias); 28 Feb 2012 23:11:27 -0000
Received: from p3EE2676A.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.103.106] by mail.gmx.net (mp002) with SMTP; 29 Feb 2012 00:11:27 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+2uHV+yiy2fBZ/6IergOV+56Ja4jmh5Grb1SnDbe 7Rf6LPg8cHjJHV
Message-ID: <4F4D5F1C.8080607@gmx.de>
Date: Wed, 29 Feb 2012 00:11:24 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Tobias Oberstein <tobias.oberstein@tavendo.de>
References: <CAH9hSJb1ewPO3EBgD78anD+=4XouToGR4X7C1wvWqonc2nYB6g@mail.gmail.com> <634914A010D0B943A035D226786325D42D5992F76E@EXVMBX020-12.exch020.serverdata.net>
In-Reply-To: <634914A010D0B943A035D226786325D42D5992F76E@EXVMBX020-12.exch020.serverdata.net>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Multiplexing extension spec draft 03
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, 28 Feb 2012 23:11:36 -0000

On 2012-02-28 18:41, Tobias Oberstein wrote:
>>> - Now the order of extensions in Sec-WebSocket-Extensions determines where those extensions are applied to frames (before or after (de)multiplexing)
>
> Huh. _Order is significant_ ??
>
> Is that even supported by the WS base spec? If so, is there precedence with other HTTP headers introducing order sign.?
>
> Somehow I feel uncomfortable with introducing order sign. in a header ..
>
> And what if Sec-WebSocket-Extensions header appears more than once (don't remember right now
> if thats allowed for that specific header)? If so, aren't intermediaries allowed to reorder headers?

<http://greenbytes.de/tech/webdav/rfc2616.html#rfc.section.4.2p.5>

"Multiple message-header fields with the same field-name MAY be present 
in a message if and only if the entire field-value for that header field 
is defined as a comma-separated list [i.e., #(values)]. It MUST be 
possible to combine the multiple header fields into one "field-name: 
field-value" pair, without changing the semantics of the message, by 
appending each subsequent field-value to the first, each separated by a 
comma. The order in which header fields with the same field-name are 
received is therefore significant to the interpretation of the combined 
field value, and thus a proxy MUST NOT change the order of these field 
values when a message is forwarded."

But that doesn't necessarily mean it's a good idea.

Best regards, Julian