Re: [hybi] Proposed way forward for WebSockets

"Martin J. Dürst" <duerst@it.aoyama.ac.jp> Wed, 28 July 2010 06:12 UTC

Return-Path: <duerst@it.aoyama.ac.jp>
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 137893A69DC for <hybi@core3.amsl.com>; Tue, 27 Jul 2010 23:12:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.84
X-Spam-Level: *
X-Spam-Status: No, score=1.84 tagged_above=-999 required=5 tests=[AWL=-0.229, BAYES_20=-0.74, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, MIME_8BIT_HEADER=0.3]
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 mVHfXIM36NMj for <hybi@core3.amsl.com>; Tue, 27 Jul 2010 23:12:33 -0700 (PDT)
Received: from scmailgw01.scop.aoyama.ac.jp (scmailgw01.scop.aoyama.ac.jp [133.2.251.41]) by core3.amsl.com (Postfix) with ESMTP id 736FA3A690D for <hybi@ietf.org>; Tue, 27 Jul 2010 23:12:32 -0700 (PDT)
Received: from scmse01.scbb.aoyama.ac.jp (scmse01.scbb.aoyama.ac.jp [133.2.253.158]) by scmailgw01.scop.aoyama.ac.jp (secret/secret) with SMTP id o6S6CoWS008515 for <hybi@ietf.org>; Wed, 28 Jul 2010 15:12:50 +0900
Received: from (unknown [133.2.206.133]) by scmse01.scbb.aoyama.ac.jp with smtp id 0957_8526_26945790_9a0f_11df_b3a1_001d096c566a; Wed, 28 Jul 2010 15:12:50 +0900
Received: from [IPv6:::1] ([133.2.210.1]:47852) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S140AC94> for <hybi@ietf.org> from <duerst@it.aoyama.ac.jp>; Wed, 28 Jul 2010 15:12:47 +0900
Message-ID: <4C4FCA53.2010309@it.aoyama.ac.jp>
Date: Wed, 28 Jul 2010 15:12:35 +0900
From: "\"Martin J. Dürst\"" <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.4pre) Gecko/20091214 Eudora/3.0b4
MIME-Version: 1.0
To: Greg Wilkins <gregw@webtide.com>
References: <ECF0E97F-1DA2-4662-BA48-F68B65AA8179@apple.com> <4C4D66AF.9030905@opera.com> <Pine.LNX.4.64.1007270030120.24444@ps20323.dreamhostps.com> <AANLkTi=fx=Yfm_pe9-pdCc=5sKRP=dNfDEBYCKNHFOmH@mail.gmail.com>
In-Reply-To: <AANLkTi=fx=Yfm_pe9-pdCc=5sKRP=dNfDEBYCKNHFOmH@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Cc: hybi@ietf.org
Subject: Re: [hybi] Proposed way forward for WebSockets
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, 28 Jul 2010 06:12:35 -0000

As many others have said, Ian's proposal is a big step in the right 
direction.

One comment on Greg's comments below:

On 2010/07/27 13:56, Greg Wilkins wrote:
> Ian,
>
> I'm generally in agreement with the outline of your plan - specifically I
> think it
> worthwhile to get a minimalistic solution deployed sooner rather than later.
>
> But a couple of points in-line below:

> On 27 July 2010 10:56, Ian Hickson<ian@hixie.ch>  wrote:

>> There are a number of ways that we can make the protocol also support
>> other goals:

>>   - Sending and receiving binary data

> With regards to the support for binary data, I agree that can mostly wait
> until
> the API is in javascript to handle it.  But I would also like to have one
> final discussion
> to see if we could agree to support only a single framing type that supports
> both
> binary and text - rather than enshrining multiple framing types for all
> time.
> For example,  we could switch to only supporting binary data with the
> assumption
> that unless otherwise specified the binary content is UTF-8 encoded text.

In my opinion, to put it mildly, this is a recipie for disaster. Having 
frame types for UTF-8 and binary separately creates a clear situation. 
Something like "UTF-8, but occasionally binary", or whatever in that 
direction, essentially means "any character encoding goes", which means 
that the "UTF-8" part is just meaningless. This means that we are back 
to unidentified byte gunk, where it's totally unclear what each byte 
means in terms of characters.


Regards,   Martin.


-- 
#-# Martin J. Dürst, Professor, Aoyama Gakuin University
#-# http://www.sw.it.aoyama.ac.jp   mailto:duerst@it.aoyama.ac.jp