Re: [hybi] Apples and Orangutans

Ian Hickson <ian@hixie.ch> Sun, 12 April 2009 22:33 UTC

Return-Path: <ian@hixie.ch>
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 5A39F3A69B1 for <hybi@core3.amsl.com>; Sun, 12 Apr 2009 15:33:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.504
X-Spam-Level:
X-Spam-Status: No, score=-3.504 tagged_above=-999 required=5 tests=[AWL=-0.905, BAYES_00=-2.599]
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 MuY6maNTnUZC for <hybi@core3.amsl.com>; Sun, 12 Apr 2009 15:33:57 -0700 (PDT)
Received: from looneymail-a5.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by core3.amsl.com (Postfix) with ESMTP id 778753A68CD for <hybi@ietf.org>; Sun, 12 Apr 2009 15:33:57 -0700 (PDT)
Received: from hixie.dreamhostps.com (hixie.dreamhost.com [208.113.210.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by looneymail-a5.g.dreamhost.com (Postfix) with ESMTP id 5B822122541; Sun, 12 Apr 2009 15:35:06 -0700 (PDT)
Date: Sun, 12 Apr 2009 22:35:06 +0000
From: Ian Hickson <ian@hixie.ch>
To: Maciej Stachowiak <mjs@apple.com>
In-Reply-To: <A3699591-148C-4795-967A-6CDE23FE75F0@apple.com>
Message-ID: <Pine.LNX.4.62.0904122230550.10339@hixie.dreamhostps.com>
References: <49DEF171.4080506@mozilla.com> <A3699591-148C-4795-967A-6CDE23FE75F0@apple.com>
Content-Language: en-GB-hixie
Content-Style-Type: text/css
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Cc: hybi@ietf.org
Subject: Re: [hybi] Apples and Orangutans
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: Sun, 12 Apr 2009 22:33:58 -0000

On Sun, 12 Apr 2009, Maciej Stachowiak wrote:
> 
> I like Minimal/Event too, although I am starting to think the WebSocket 
> protocol may be a bit too minimal. I think adding an optional type field 
> to the packet or to the initial negotiation would help independently 
> developed client and server code coordinate, much in the way MIME types 
> help HTTP clients and servers without the necessity to define every 
> possible type up front or to couple a single client to a single server. 
> [...] TCP includes a port number (associated with protocols by 
> convention)

WebSocket includes a path (from the ws:// URL), which is intended to be 
analogous to the TCP port number.

Does that address this particular point satisfactorily?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'