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

Ian Hickson <ian@hixie.ch> Fri, 07 August 2009 19:40 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 0D14B3A695F; Fri, 7 Aug 2009 12:40:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.554
X-Spam-Level:
X-Spam-Status: No, score=-3.554 tagged_above=-999 required=5 tests=[AWL=-0.955, 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 MwsPEji6xy10; Fri, 7 Aug 2009 12:40:21 -0700 (PDT)
Received: from looneymail-a3.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by core3.amsl.com (Postfix) with ESMTP id 0D23B3A6F59; Fri, 7 Aug 2009 12:40:21 -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-a3.g.dreamhost.com (Postfix) with ESMTP id 2C27227B2B; Fri, 7 Aug 2009 12:40:24 -0700 (PDT)
Date: Fri, 07 Aug 2009 19:40:24 +0000
From: Ian Hickson <ian@hixie.ch>
To: David Booth <david@dbooth.org>
In-Reply-To: <1249651007.25446.8934.camel@dbooth-laptop>
Message-ID: <Pine.LNX.4.62.0908071940050.28566@hixie.dreamhostps.com>
References: <Pine.LNX.4.62.0908070531430.28566@hixie.dreamhostps.com> <1249651007.25446.8934.camel@dbooth-laptop>
Content-Language: en-GB-hixie
Content-Style-Type: text/css
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
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: Fri, 07 Aug 2009 19:40:22 -0000

On Fri, 7 Aug 2009, David Booth wrote:
>
> 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.

This is only expected to be used from a WebSocket API call. What fallback 
behaviour did you have in mind?

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