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

Julian Reschke <julian.reschke@gmx.de> Mon, 07 September 2009 13:47 UTC

Return-Path: <julian.reschke@gmx.de>
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 7291728C15F for <hybi@core3.amsl.com>; Mon, 7 Sep 2009 06:47:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.436
X-Spam-Level:
X-Spam-Status: No, score=-4.436 tagged_above=-999 required=5 tests=[AWL=-1.837, 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 3+f+K-KPFLcN for <hybi@core3.amsl.com>; Mon, 7 Sep 2009 06:47:03 -0700 (PDT)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by core3.amsl.com (Postfix) with SMTP id 35AFC28C15D for <hybi@ietf.org>; Mon, 7 Sep 2009 06:47:02 -0700 (PDT)
Received: (qmail invoked by alias); 07 Sep 2009 13:47:29 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.117]) [217.91.35.233] by mail.gmx.net (mp071) with SMTP; 07 Sep 2009 15:47:29 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19dOKwjRLRdcL9BlMYkHtF9tILdrN0WcTfIoT4IcU gdL/lVmOY1nROT
Message-ID: <4AA50EEE.2010303@gmx.de>
Date: Mon, 07 Sep 2009 15:47:26 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: Ian Hickson <ian@hixie.ch>
References: <OF22CD1320.96C55266-ON85257610.004AB599-85257610.004BC9CA@lotus.com> <C9931C12-E123-437D-8E7D-F8C680C62397@mnot.net> <4A8CAA72.3000209@berkeley.edu> <Pine.LNX.4.62.0909040147300.6775@hixie.dreamhostps.com> <4AA14792.4020009@gmx.de> <4D25F22093241741BC1D0EEBC2DBB1DA01AD6282C2@EX-SEA5-D.ant.amazon.com> <Pine.LNX.4.62.0909041947250.26930@hixie.dreamhostps.com>
In-Reply-To: <Pine.LNX.4.62.0909041947250.26930@hixie.dreamhostps.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.59
Cc: URI <uri@w3.org>, "hybi@ietf.org" <hybi@ietf.org>, "uri-review@ietf.org" <uri-review@ietf.org>, "public-i18n-core@w3.org" <public-i18n-core@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, 07 Sep 2009 13:47:04 -0000

Ian Hickson wrote:
> ...
>>>> Furthermore, it still doesn't answer what the semantics of these 
>>>> parts are. What do "ihier-part" and "iquery" represent in a ws URI?
>>> This is defined by the RFC 3987, no? Surely we wouldn't want IRI 
>>> components to have different meanings in different schemes?
>> If you can point to a section in RFC 3987 which defines more than the 
>> syntax, and can state that that also applies to "ws", then, great...
> 
> Isn't what the Web Socket protocol spec now says suitable?
> ...

It's better.

What I still miss is a reference from the URI registration template to 
the section which defines the syntax (*), and in that section, a 
statement about what the resource name exactly is good for. (It's 
definitively not obvious by just reading the parsing algorithm).

BR, Julian

(*) I think that section would be much more readable when it used ABNF 
as everybody else does. I hear that by specifying an algorithm you want 
to exclude certain standard things like fragments, and include error 
handling; but I think ABNF + prose would be much easier to understand. 
Furthermore, fragment identifiers are orthogonal to the URI scheme, see 
<http://greenbytes.de/tech/webdav/rfc3986.html#rfc.section.3.5.p.2>:

"Fragment identifier semantics are independent of the URI scheme and 
thus cannot be redefined by scheme specifications."