Re: [art] Question regarding RFC 8089

Larry Masinter <LMM@acm.org> Fri, 18 January 2019 19:52 UTC

Return-Path: <masinter@gmail.com>
X-Original-To: art@ietfa.amsl.com
Delivered-To: art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B5D513136C for <art@ietfa.amsl.com>; Fri, 18 Jan 2019 11:52:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 l7UtzpqTFGbt for <art@ietfa.amsl.com>; Fri, 18 Jan 2019 11:52:06 -0800 (PST)
Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8A4CE131366 for <art@ietf.org>; Fri, 18 Jan 2019 11:52:06 -0800 (PST)
Received: by mail-pl1-x62d.google.com with SMTP id z23so6806474plo.0 for <art@ietf.org>; Fri, 18 Jan 2019 11:52:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:thread-index :content-language; bh=Ayduku+9amgbRxeFXhAGA7Sy8YRXnEYjyuemNsf3prc=; b=hjRrqtyVXvo32VZ7XlmKUDe09priOPm0w63VTn4TzU5XtZrjBPuz6kNiphOjW2BAQK mebUPLzDpA8cPUzYofud5vkO35g6J8PMZwBzNbqdHOyNWZSy1XznLCjEzinP+sONmkyH ziq5uOQ47LrKhYvPwtyzGjq6cdpJ+tBeQ55Le/lHIiwUDRsk/E2yi5EsyOEvfslxcrQu jlSOg1rHIvLbAzgSsqPFW51hL7PIQkRVbfVuwbDZizePKj3bEMpo5J3gp+h6y+1vAE68 557HCFkGCTGbrhaK4zoiRYjbDNniq9K8vz8OIhXNwyxpvpX3uVP+ulubZ4xE0Mr4X7K9 Mg8A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:references:in-reply-to:subject :date:message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=Ayduku+9amgbRxeFXhAGA7Sy8YRXnEYjyuemNsf3prc=; b=DFFb5HmWtT82NC5srJx3btoQFgtI3JIcqb52vtyOgdsosxwzr2xsVhK1HZTSulTsa5 0ddi50sfOm89yA0Fxs9XeJ6TSuq+ppAZAyHRYf1UTH9bvqI94flRS3rl7aE0WMnaIH+j nwP8cCN5zIh7uDqAyzw/NzCnG50tCqTDEdb46GwHWwwdfy9FxPtLGgIW8mhX1z4aiMoA 6QTceG2Linpvt1wCHAk/XyP1bZhVdMKXm+43Lvtm8G4J1ZYly28XMVgPajunVyrPaO/H rEfHzl/0Wyo5o6eWWxpr9EKvjIYBJoh+BpTeP+dU0tCKLYG7x6okDYSARY2RwB1yrLUr G28g==
X-Gm-Message-State: AJcUukdtOjJMOn4dzeiCewWX53CU6gGS9qVHjA4Bsae1HdXxcuG+f59w A96AGvYpqxF8uVkgfsJ87q4O7JV2
X-Google-Smtp-Source: ALg8bN5xz7dCIhh/NyeIbIbRKeXTOnpWubR3Q6Pk+nwqx9lAcdBSO7u6QLxvzJU9OHOT+SHSuLyL/A==
X-Received: by 2002:a17:902:7b88:: with SMTP id w8mr20249405pll.320.1547841124919; Fri, 18 Jan 2019 11:52:04 -0800 (PST)
Received: from TVPC (c-24-6-174-39.hsd1.ca.comcast.net. [24.6.174.39]) by smtp.gmail.com with ESMTPSA id 83sm6789724pgf.57.2019.01.18.11.52.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 11:52:03 -0800 (PST)
Sender: Larry Masinter <masinter@gmail.com>
From: Larry Masinter <LMM@acm.org>
X-Google-Original-From: "Larry Masinter" <lmm@acm.org>
To: "'Roy T. Fielding'" <fielding@gbiv.com>, "'\"Martin J. Dürst\"'" <duerst@it.aoyama.ac.jp>
Cc: art@ietf.org, "'Dale R. Worley'" <worley@ariadne.com>
References: <874la63apq.fsf@hobgoblin.ariadne.com> <d5943dc6-7b48-1406-3822-f32fad42ed5e@it.aoyama.ac.jp> <57CF13AD-8430-43CB-8051-4217485F3842@gbiv.com>
In-Reply-To: <57CF13AD-8430-43CB-8051-4217485F3842@gbiv.com>
Date: Fri, 18 Jan 2019 11:52:05 -0800
Message-ID: <004501d4af67$4a4e1330$deea3990$@acm.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQGg1c9mO3SYLfVtQycS7dRaulRkxwEtXnVtAV9FLTqmCKVF0A==
Content-Language: en-us
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/cmfrub-vspIT7kCFpDATFhWxeWs>
Subject: Re: [art] Question regarding RFC 8089
X-BeenThere: art@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/art>, <mailto:art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art/>
List-Post: <mailto:art@ietf.org>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/art>, <mailto:art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Jan 2019 19:52:09 -0000

This bit that HTTP can be used by a proxy to resolve any URLs, not just http: and https: ones, is weakly supported by a passing MAY.
There isn't sufficient evidence of independent interoperable implementations (based on specification) for such a major extension to the "range of the HTTP dereference function".
Yes, theoretically, something like this COULD be specified without breaking HTTP, but that's different from saying that scheme registrations can't restrict the use of fragment identifiers with URLs of that scheme.    I think that if you want to allow fragments in URLs of a given scheme, the scheme definition should define how it should be treated by fetch, and if such use requires generation of "some metadata document", how those metadata documents work with fragment identifiers should be defined (by their MIME type's registration, I suppose).

So I'd say no, you can't use a fragment identifier with a "mailto:" URL. Or a "sip:" one. But ok with "data:", and even "ftp" and "file".
 
In any case, perhaps a document update to BCP 35 guidelines might be called for, and possibly a clarification in  3986 (URI).

Larry
--
https://LarryMasinter.net


> -----Original Message-----
> From: art <art-bounces@ietf.org> On Behalf Of Roy T. Fielding
> Sent: Friday, January 18, 2019 10:18 AM
> To: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
> Cc: art@ietf.org; Dale R. Worley <worley@ariadne.com>
> Subject: Re: [art] Question regarding RFC 8089
> 
> > On Jan 18, 2019, at 12:31 AM, Martin J. Dürst <duerst@it.aoyama.ac.jp>
> wrote:
> >
> > On 2019/01/18 12:29, Dale R. Worley wrote:
> >> "Roy T. Fielding" <fielding@gbiv.com> writes:
> >>> For example, HTTP can be used to dereference sip identifiers and the
> >>> media type of the response does support fragment ids.
> >>
> >> I must admit I'm not following your example.
> >
> > I'm not familiar with sip, but I can easily imagine a http server
> > returning some metadata documents for some specific sip: URIs, the
> > same way it could for some specific mailto: URI.
> >
> > The only thing you have to do to make such a server work is to set it
> > up so that it responds to requests of the form
> >
> > GET mailto:abc@example.com HTTP/1.1
> >
> > or some such. This is allowed by http, it's how proxying works. The
> > responses are not authoritative, but they have mime types and may work
> > with fragment identifiers.
> 
> Right, a proxy server can be configured so that any given full URI passed via
> an HTTP request has a response that is effectively a hypertext client for a
> service capable of resolving the given identifier and presenting something
> useful to the user. What that might be is controlled by the proxy service, not
> the identifier being used (i.e., the proxy server might only be for metadata,
> or it might be a Skype proxy, or it might be a webrtc Rickroll, etc.).
> Within that context, a fragment identifier can be defined by the media types
> for processing hypertext even if it was not anticipated by the scheme.
> 
> Hence, fragment is an optional component of a URI reference, not part of a
> URI scheme's definition.
> 
> ....Roy
> _______________________________________________
> art mailing list
> art@ietf.org
> https://www.ietf.org/mailman/listinfo/art