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

David Booth <david@dbooth.org> Mon, 10 August 2009 01:59 UTC

Return-Path: <david@dbooth.org>
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 7CABC3A6D9F for <hybi@core3.amsl.com>; Sun, 9 Aug 2009 18:59:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 PFQrzOyumoQg for <hybi@core3.amsl.com>; Sun, 9 Aug 2009 18:59:11 -0700 (PDT)
Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by core3.amsl.com (Postfix) with SMTP id 6A55B3A6D86 for <hybi@ietf.org>; Sun, 9 Aug 2009 18:58:41 -0700 (PDT)
Received: (qmail 22030 invoked from network); 10 Aug 2009 01:52:03 -0000
Received: from 209.6.102.232 (HELO ?192.168.7.6?) (209.6.102.232) by relay03.pair.com with SMTP; 10 Aug 2009 01:52:03 -0000
X-pair-Authenticated: 209.197.102.232
From: David Booth <david@dbooth.org>
To: "Daniel R. Tobias" <dan@tobias.name>
In-Reply-To: <4A7CD53D.13936.1264B606@dan.tobias.name>
References: <Pine.LNX.4.62.0908070531430.28566@hixie.dreamhostps.com> , <1249651007.25446.8934.camel@dbooth-laptop> <4A7CD53D.13936.1264B606@dan.tobias.name>
Content-Type: text/plain
Date: Sun, 09 Aug 2009 21:52:02 -0400
Message-Id: <1249869122.20315.388.camel@dbooth-laptop>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1
Content-Transfer-Encoding: 7bit
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: Mon, 10 Aug 2009 01:59:11 -0000

On Fri, 2009-08-07 at 21:30 -0400, Daniel R. Tobias wrote:
> On 7 Aug 2009 at 9:16, David Booth wrote:
> 
> > 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.
> 
> It seems like a bad idea to me, to have to build special exceptions 
> to how a user agent processes URIs, where the protocol specified in 
> the URI isn't actually the one that is used, based on "magic strings" 
> within other parts than the scheme.

I can't see that as a significant issue, as there is only a trivial
difference between dispatching based on the string prefix
"http://wss.example/" and the string prefix "wss:".  Both are simple,
constant strings and both are equally "magic": they cause agent to
attempt the WSS protocol.



-- 
David Booth, Ph.D.
Cleveland Clinic (contractor)

Opinions expressed herein are those of the author and do not necessarily
reflect those of Cleveland Clinic.