Re: [apps-discuss] the URI definition model (was: Fun with URLs and regex)

Sam Ruby <rubys@intertwingly.net> Thu, 29 January 2015 23:49 UTC

Return-Path: <rubys@intertwingly.net>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B62351A1AB8 for <apps-discuss@ietfa.amsl.com>; Thu, 29 Jan 2015 15:49:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BlAkoKIliLjw for <apps-discuss@ietfa.amsl.com>; Thu, 29 Jan 2015 15:49:17 -0800 (PST)
Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.231]) by ietfa.amsl.com (Postfix) with ESMTP id 360F81A00D4 for <apps-discuss@ietf.org>; Thu, 29 Jan 2015 15:49:16 -0800 (PST)
Received: from [98.27.51.253] ([98.27.51.253:15927] helo=rubix) by cdptpa-oedge03 (envelope-from <rubys@intertwingly.net>) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 4F/4F-17738-BF6CAC45; Thu, 29 Jan 2015 23:49:16 +0000
Received: from [192.168.1.115] (cpe-098-027-051-253.nc.res.rr.com [98.27.51.253]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: rubys) by rubix (Postfix) with ESMTPSA id 755721401E4; Thu, 29 Jan 2015 18:49:16 -0500 (EST)
Message-ID: <54CAC6FA.3000902@intertwingly.net>
Date: Thu, 29 Jan 2015 18:49:14 -0500
From: Sam Ruby <rubys@intertwingly.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: Matthew Kerwin <matthew@kerwin.net.au>
References: <CACweHNDbwm2U+0aq_+6+TrRZc9Umft7zuPChH26RWpHTz9n-cg@mail.gmail.com>
In-Reply-To: <CACweHNDbwm2U+0aq_+6+TrRZc9Umft7zuPChH26RWpHTz9n-cg@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-RR-Connecting-IP: 107.14.168.142:25
X-Cloudmark-Score: 0
Archived-At: <http://mailarchive.ietf.org/arch/msg/apps-discuss/qpA7MQ5unMZZVpCnz83fiq41xuo>
Cc: IETF Apps Discuss <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] the URI definition model (was: Fun with URLs and regex)
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss/>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Jan 2015 23:49:18 -0000

On 01/29/2015 04:55 PM, Matthew Kerwin wrote:
>
> Having (at least in my mind, and in local incomplete drafts) resolved
> the issue of "c|/", and having some way forward for UNC, the remaining
> fuzzy parts are the query and fragment. Nobody uses queries, so there's
> no point adding them in. Fragments are currently out, because I was
> advised early on to leave them out. The fuzziness is how to do it while
> remaining compatible with both the document and definition models.

Permit me to provide a use case for both queries and fragments?

In a recent discussion with Tim Berners-Lee, he described a use case for 
file: URIs, namely developing an HTML application locally (using only 
relative references), and being able to push that code to a server and 
have it "just work" when served over HTTP.

HTML applications may include stylesheets and scripts.  Scripts, when 
running, may do interesting things based on the query and fragment.  The 
fragment, in particular, is routinely (ab)used by so-called "Single Page 
Applications".

- Sam Ruby