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

Mark Nottingham <mnot@mnot.net> Wed, 19 August 2009 23:34 UTC

Return-Path: <mnot@mnot.net>
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 C05A53A6CB3 for <hybi@core3.amsl.com>; Wed, 19 Aug 2009 16:34:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.781
X-Spam-Level:
X-Spam-Status: No, score=-4.781 tagged_above=-999 required=5 tests=[AWL=-2.182, 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 JoUcWfHjbcYP for <hybi@core3.amsl.com>; Wed, 19 Aug 2009 16:34:31 -0700 (PDT)
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by core3.amsl.com (Postfix) with ESMTP id 525643A6D0D for <hybi@ietf.org>; Wed, 19 Aug 2009 16:34:12 -0700 (PDT)
Received: from [192.168.1.6] (unknown [118.208.160.18]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id BD84522E247; Wed, 19 Aug 2009 19:34:10 -0400 (EDT)
Message-Id: <C9931C12-E123-437D-8E7D-F8C680C62397@mnot.net>
From: Mark Nottingham <mnot@mnot.net>
To: URI <uri@w3.org>, hybi@ietf.org
In-Reply-To: <OF22CD1320.96C55266-ON85257610.004AB599-85257610.004BC9CA@lotus.com>
Content-Type: text/plain; charset="US-ASCII"; format="flowed"; delsp="yes"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Date: Thu, 20 Aug 2009 09:34:07 +1000
References: <OF22CD1320.96C55266-ON85257610.004AB599-85257610.004BC9CA@lotus.com>
X-Mailer: Apple Mail (2.936)
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: Wed, 19 Aug 2009 23:34:32 -0000

I really hesitate to wade into what looks like another huge rat-hole.

Using HTTP for XRIs seemed like a good idea because XRI was trying to  
re-invent URIs, and not define a protocol; HTTP gave them a default  
protocol, as it were, in case you ever did want to interact with them.

WebSockets is defining a protocol, and so is a very different case. It  
is definitely not HTTP.

I can't help but feel that if we follow the arguments given in this  
thread, there won't be any need for FTP, or telnet, or any other URI  
schemes; all will be subsumed by HTTP, and eventually we won't need  
any URI schemes at all (because it's HTTP all the way down).

While that's one possible future, I suppose, I think it's pretty far  
off. Certainly, trading off in-URL metadata in the scheme for more in  
the path component (as proposed earlier in this thread) is an ugly  
hack at best. Other extra-URL metadata approaches need to be proven  
(especially around performance issues), as well as accepted by  
implementers, because what's really being proposed is an extra layer  
of protocol discovery on top of WebSockets using HTTP.

As it stands, URIs still have schemes, and we still have mechanisms  
for defining new ones. If folks want to argue that we shouldn't, the  
best way to do that would be to get a standards-track document that  
obsoletes the relevant RFCs, rather than blocking individual  
registrations.

Cheers,

--
Mark Nottingham     http://www.mnot.net/