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

"Roy T. Fielding" <fielding@gbiv.com> Fri, 14 August 2009 19:29 UTC

Return-Path: <fielding@gbiv.com>
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 6631F3A6B93; Fri, 14 Aug 2009 12:29:48 -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=[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 4pUEWrG5iNSW; Fri, 14 Aug 2009 12:29:47 -0700 (PDT)
Received: from spaceymail-a7.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by core3.amsl.com (Postfix) with ESMTP id C047A3A6A21; Fri, 14 Aug 2009 12:29:47 -0700 (PDT)
Received: from [192.168.1.111] (pool-71-110-209-184.lsanca.dsl-w.verizon.net [71.110.209.184]) by spaceymail-a7.g.dreamhost.com (Postfix) with ESMTP id E7ADA14982; Fri, 14 Aug 2009 12:29:40 -0700 (PDT)
In-Reply-To: <1250262754.4698.91.camel@ophelia2.g5n.co.uk>
References: <Pine.LNX.4.62.0908141047050.28566@hixie.dreamhostps.com> <1250262754.4698.91.camel@ophelia2.g5n.co.uk>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset="US-ASCII"; delsp="yes"; format="flowed"
Message-Id: <2BDE069B-E31E-4533-A841-1313F797C688@gbiv.com>
Content-Transfer-Encoding: 7bit
From: "Roy T. Fielding" <fielding@gbiv.com>
Date: Fri, 14 Aug 2009 12:29:27 -0700
To: Toby Inkster <mail@tobyinkster.co.uk>
X-Mailer: Apple Mail (2.753.1)
Cc: uri-review@ietf.org, hybi@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: Fri, 14 Aug 2009 19:29:48 -0000

On Aug 14, 2009, at 8:12 AM, 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.

It only makes sense to do that if the resources identified for
websockets are the same as those for "http".  That is why xri
was not needed -- it was a simple alias of http space.  I do not
think that is Ian's intention for websockets (although, as Julian
suggested, there is no documentation for that in the spec yet).

....Roy