Re: [hybi] [Uri-review] ws: and wss: schemes

Toby Inkster <mail@tobyinkster.co.uk> Sat, 05 September 2009 16:13 UTC

Return-Path: <mail@tobyinkster.co.uk>
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 B78013A6831; Sat, 5 Sep 2009 09:13:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, 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 69KvpK11u8fM; Sat, 5 Sep 2009 09:13:10 -0700 (PDT)
Received: from ophelia.g5n.co.uk (ophelia.g5n.co.uk [81.2.120.180]) by core3.amsl.com (Postfix) with ESMTP id B97FE3A6821; Sat, 5 Sep 2009 09:13:10 -0700 (PDT)
Received: from localhost (ophelia2.g5n.co.uk [127.0.0.1]) by ophelia.g5n.co.uk (Postfix) with ESMTP id D36DEB9802; Sat, 5 Sep 2009 17:04:28 +0100 (BST)
X-Virus-Scanned: amavisd-new at ophelia.g5n.co.uk
Received: from ophelia.g5n.co.uk ([127.0.0.1]) by localhost (ophelia2.g5n.co.uk [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id xOXiaiSM1aHY; Sat, 5 Sep 2009 17:04:25 +0100 (BST)
Received: from [192.168.0.103] (unknown [192.168.0.103]) by ophelia.g5n.co.uk (Postfix) with ESMTP id 96D81B9801; Sat, 5 Sep 2009 17:04:25 +0100 (BST)
In-Reply-To: <Pine.LNX.4.62.0909040147300.6775@hixie.dreamhostps.com>
References: <OF22CD1320.96C55266-ON85257610.004AB599-85257610.004BC9CA@lotus.com> <C9931C12-E123-437D-8E7D-F8C680C62397@mnot.net> <4A8CAA72.3000209@berkeley.edu> <Pine.LNX.4.62.0909040147300.6775@hixie.dreamhostps.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset="US-ASCII"; delsp="yes"; format="flowed"
Message-Id: <814B1BD3-17E5-412E-8111-CD226CF3C214@tobyinkster.co.uk>
Content-Transfer-Encoding: 7bit
From: Toby Inkster <mail@tobyinkster.co.uk>
Date: Sat, 05 Sep 2009 17:04:29 +0100
To: Ian Hickson <ian@hixie.ch>
X-Mailer: Apple Mail (2.753.1)
Cc: URI <uri@w3.org>, hybi@ietf.org, uri-review@ietf.org
Subject: Re: [hybi] [Uri-review] ws: and wss: schemes
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: Sat, 05 Sep 2009 16:13:11 -0000

On 4 Sep 2009, at 06:33, Ian Hickson wrote:
> On Fri, 14 Aug 2009, Toby Inkster wrote:
>> On Fri, 2009-08-14 at 10:47 +0000, Ian Hickson wrote:
>>> I don't understand how one would reuse the http: scheme in this  
>>> way in
>>> order to connect to 'example.com' as both an HTTP server and a Web
>>> Socket server.
>>
>> The idea is not necessarily to reuse the HTTP protocol - just the URI
>> scheme. How to do this is pretty easy and would require very few  
>> changes
>> to the web sockets API. [...]
 >
> That seems like a wild layering violation.

As I understand it, if you, Ian Hickson, own websockets.net, then you  
are the authority for deciding what resources are represented by URIs  
starting with:

	http://websockets.net/

In particular, you in your role as authority are free to decree that  
this:

	http://websockets.net/example.com/foo

Represents a Web Sockets path of "/foo" running on port 81 of the  
host example.com.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>