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

Kristof Zelechovski <giecrilj@stegny.2a.pl> Tue, 11 August 2009 16:36 UTC

Return-Path: <giecrilj@stegny.2a.pl>
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 944C53A7043; Tue, 11 Aug 2009 09:36:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.9
X-Spam-Level: **
X-Spam-Status: No, score=2.9 tagged_above=-999 required=5 tests=[BAYES_40=-0.185, HELO_EQ_PL=1.135, HOST_EQ_PL=1.95]
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 YZBpeBqsd3st; Tue, 11 Aug 2009 09:36:04 -0700 (PDT)
Received: from shark.2a.pl (shark.2a.pl [195.117.102.3]) by core3.amsl.com (Postfix) with ESMTP id 799983A6BF0; Tue, 11 Aug 2009 09:36:04 -0700 (PDT)
Received: from av.2a.pl (av.2a.pl [195.117.102.9]) by shark.2a.pl (Postfix) with ESMTP id 808C92A6A86; Tue, 11 Aug 2009 18:35:00 +0200 (CEST)
X-Virus-Scanned: amavisd-new at 2a.pl
Received: from shark.2a.pl ([195.117.102.3]) by av.2a.pl (av.2a.pl [195.117.102.9]) (amavisd-new, port 10024) with ESMTP id eVVznWpueRYO; Tue, 11 Aug 2009 18:34:53 +0200 (CEST)
Received: from POCZTOWIEC (unknown [10.8.1.26]) by shark.2a.pl (Postfix) with ESMTPA id AB2562A6A5D; Tue, 11 Aug 2009 18:34:53 +0200 (CEST)
From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
To: 'David Booth' <david@dbooth.org>, 'Ian Hickson' <ian@hixie.ch>
References: <Pine.LNX.4.62.0908070531430.28566@hixie.dreamhostps.com> <1249651007.25446.8934.camel@dbooth-laptop>
Date: Tue, 11 Aug 2009 18:35:46 +0200
Message-ID: <0B450D619CC0486E8BD51C31FBA214AD@POCZTOWIEC>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
Thread-Index: AcoXYks87RRlmbyMQSKLSGIMqf4SLwDPeJmg
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
In-Reply-To: <1249651007.25446.8934.camel@dbooth-laptop>
X-Mailman-Approved-At: Tue, 11 Aug 2009 16:15:07 -0700
Cc: uri-review@ietf.org, hybi@ietf.org, uri@w3.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: Tue, 11 Aug 2009 16:36:05 -0000

 1.  The document "Converting New URI Schemes or URN Sub-Schemes to HTTP"
[1] specifically addresses the use case where the custom URL is presented to
a casual user.  Since there are no legitimate casual users of the Web
Sockets protocol that is designed to be used by Web applications only, there
are no benefits to introducing the additional complexity of using an http
alias.

 2.  Additionally, the proposed solution of using the URI prefix
"http://wss.example/" is suited for custom protocols, according to the
description at [1].  A protocol promulgated by the WWW Corporation can
hardly be viewed as custom.

IMHO,
Chris

[1] <URL:http://dbooth.org/2006/urn2http/>

-----Original Message-----
From: uri-review-bounces@ietf.org [mailto:uri-review-bounces@ietf.org] On
Behalf Of David Booth
Sent: Friday, August 07, 2009 3:17 PM
To: Ian Hickson
Cc: uri-review@ietf.org; hybi@ietf.org; uri@w3.org
Subject: Re: [Uri-review] ws: and wss: schemes

On Fri, 2009-08-07 at 05:35 +0000, Ian Hickson wrote:
> The formal registrations for the ws: and wss: schemes, part of the Web 
> Socket protocol, will be available in the Web Socket protocol ID as soon 
> as the IETF upload process completes:
> 
>    http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol#section-7
> 

This looks to me like a perfect example of a case where a new scheme is
not needed, as the same thing can be accomplished by defining an http
URI prefix, as described in "Converting New URI Schemes or URN
Sub-Schemes to HTTP":
http://dbooth.org/2006/urn2http/
Note that I am talking about the *scheme*, not the protocol.  In
essence, a URI prefix such as "http://wss.example/" can be defined that
would serve the same purpose as a "wss:" scheme: an agent that
recognizes this prefix will know to attempt the WSS protocol.  But an
agent that doesn't *might* still be able to fall back to doing something
useful with the URI if it were an http URI, whereas it couldn't if it
were a "wss:" URI.

-- 
David Booth, Ph.D.