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

Erik Wilde <dret@berkeley.edu> Sun, 16 August 2009 05:27 UTC

Return-Path: <dret@berkeley.edu>
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 4BACB3A695C; Sat, 15 Aug 2009 22:27:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 BLkCuqNKm9bQ; Sat, 15 Aug 2009 22:27:39 -0700 (PDT)
Received: from smtp.ischool.berkeley.edu (bliss.ISchool.Berkeley.EDU [128.32.78.13]) by core3.amsl.com (Postfix) with ESMTP id 82F563A683D; Sat, 15 Aug 2009 22:27:39 -0700 (PDT)
Received: from [10.25.99.190] (166-205-005-184.mobile.mymmode.com [166.205.5.184] (may be forged)) (authenticated bits=0) by smtp.ischool.berkeley.edu (8.13.1/8.13.1) with ESMTP id n7G5Qtvv015655 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sat, 15 Aug 2009 22:26:59 -0700
From: Erik Wilde <dret@berkeley.edu>
To: Julian Reschke <julian.reschke@gmx.de>
In-Reply-To: <4A8514B8.1060808@gmx.de>
X-Mailer: iPhone Mail (7A400)
References: <Pine.LNX.4.62.0908070531430.28566@hixie.dreamhostps.com> <1249651007.25446.8934.camel@dbooth-laptop> <0B450D619CC0486E8BD51C31FBA214AD@POCZTOWIEC> <20090812021926.GC19298@shareable.org> <AB9A0CF094F04D39BC7DC5DEAFF7FC1C@POCZTOWIEC> <Pine.LNX.4.62.0908140544590.6420@hixie.dreamhostps.com> <4A8514B8.1060808@gmx.de>
Message-Id: <9D0A2154-6D08-4ABC-B6CE-3A7AA2FF8ACD@berkeley.edu>
Content-Type: multipart/alternative; boundary="Apple-Mail-5--637271391"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (iPhone Mail 7A400)
Date: Sat, 15 Aug 2009 22:25:49 -0700
X-Scanned-By: MIMEDefang 2.67 on 128.32.78.13
X-Mailman-Approved-At: Tue, 18 Aug 2009 18:02:07 -0700
Cc: "hybi@ietf.org" <hybi@ietf.org>, "Daniel R. Tobias" <dan@tobias.name>, "uri-review@ietf.org" <uri-review@ietf.org>, Kristof Zelechovski <giecrilj@stegny.2a.pl>, "uri@w3.org" <uri@w3.org>, "noah_mendelsohn@us.ibm.com" <noah_mendelsohn@us.ibm.com>, David Booth <david@dbooth.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: Sun, 16 Aug 2009 05:27:40 -0000

On Aug 14, 2009, at 0:39, Julian Reschke <julian.reschke@gmx.de> wrote:
> Ian Hickson wrote:
>>>>   URI scheme semantics.
>>>>      The only operation for this scheme is to open a connection  
>>>> using
>>>>      the Web Socket protocol.
>>>>
>>>>   Encoding considerations.
>>>>      UTF-8 only.
>>> What does this mean?
>> That the only encoding that can be used with this scheme is UTF-8.  
>> What is unclear?
> You can only have ASCII characters in a URI. I believe you're trying  
> to do the right thing, but it really requires a few more words  
> (...when non-URL characters are to be used in a ws URI, they need to  
> be encoded using UTF-8 and then percent-escaped...)

i think there is some misunderstanding here: "encoding" here refers to  
the encoding of the URI (as julian has pointed out in his response),  
not the encoding of the payload of the protocol that is used to  
interact with resources identified by the URI.

cheers,

dret.