[art] Re: [Witarea] use-cases for meta-URIs

worley@ariadne.com Thu, 22 August 2024 16:07 UTC

Return-Path: <worley@alum.mit.edu>
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 2CAE0C151980 for <art@ietfa.amsl.com>; Thu, 22 Aug 2024 09:07:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.99
X-Spam-Level:
X-Spam-Status: No, score=-0.99 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=comcastmailservice.net
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZaFqZxn15pgW for <art@ietfa.amsl.com>; Thu, 22 Aug 2024 09:07:51 -0700 (PDT)
Received: from resqmta-h2p-567354.sys.comcast.net (resqmta-h2p-567354.sys.comcast.net [96.102.200.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 68859C151981 for <art@ietf.org>; Thu, 22 Aug 2024 09:07:51 -0700 (PDT)
Received: from resomta-h2p-555060.sys.comcast.net ([96.102.179.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resqmta-h2p-567354.sys.comcast.net with ESMTPS id h6Ufs1UvQzfJihAJqsiwXC; Thu, 22 Aug 2024 16:05:50 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcastmailservice.net; s=20211018a; t=1724342750; bh=y9d4et9NRGOefKr98S70Ep2JB/HIOJG673m+UvXuJFg=; h=Received:Received:Received:Received:From:To:Subject:Date: Message-ID:Xfinity-Spam-Result; b=FLrJAcIvGNWrzszkRTCxoyUIp1zoX5HLfgnu74DPX4x754+1hAH88ic3vjwlWeFYU YGCOgrLLkV/l0tngyQMktmoNnjIM9d62yoFdzKYpOw28SbCA4E2Ih/dC78vgEtjJ5C NSNKcxa1c5+2/fS7c0B5uneGFWWpp6AalFUd9Z8kFmU115OVME3qIX6wRorQ/7+Lf6 bldPo9hxBZR1nJeg/kXXviQJsyvMIBzjsMuVoyPgtAzPr8gUtb/JMRcG9u55VoCDmU A+yVYwO0THNrsxS8cl/nOb8t0M7OjB2aXxGH6pIGChTnrdJcYNrOSEW+KXalpJGkS3 BepFuE6rY7/kw==
Received: from hobgoblin.ariadne.com ([IPv6:2601:192:4a00:430::ee6f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resomta-h2p-555060.sys.comcast.net with ESMTPSA id hAJnsL9mwbj9RhAJpsCQ9G; Thu, 22 Aug 2024 16:05:49 +0000
Received: from hobgoblin.ariadne.com (localhost [127.0.0.1]) by hobgoblin.ariadne.com (8.16.1/8.16.1) with ESMTPS id 47MG5khf3714575 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 22 Aug 2024 12:05:46 -0400
Received: (from worley@localhost) by hobgoblin.ariadne.com (8.16.1/8.16.1/Submit) id 47MG5jfs3714572; Thu, 22 Aug 2024 12:05:45 -0400
X-Authentication-Warning: hobgoblin.ariadne.com: worley set sender to worley@alum.mit.edu using -f
From: worley@ariadne.com
To: "Soni \"It/Its\" L." <fakedme+ietf@gmail.com>
In-Reply-To: <99f17eb1-686c-4a57-b4e6-531517d2b9cb@gmail.com> (fakedme+ietf@gmail.com)
Sender: worley@ariadne.com
Date: Thu, 22 Aug 2024 12:05:45 -0400
Message-ID: <87ttfcwnja.fsf@hobgoblin.ariadne.com>
X-CMAE-Envelope: MS4xfNx/rvVcpMOkR5WbnT0YWX+6VeO5j2xIymA3GtRCDh9An3q3A5XriL8wAGd2FUWBwaaAfE93jIWEROBCcL0MEpnKv2ytPchSSAiB0kGf7WeamggekcPI tSNF50Jq9G5VhGl4Jz6+GPUyaVgzNKVeu3/AEz52UZyv9IkTXOIh/HVQKDyMRSXBCi6W6QEcj3OPbgi6UMAO8l7247kwVIZBy+Pp43uMz5f067QbSvMkIgOd 91A8Kd+QeEWC2CzU9XZ76A==
Message-ID-Hash: BSLVEIMP34LIM7RTZT3ZI6RE32ZOS7KT
X-Message-ID-Hash: BSLVEIMP34LIM7RTZT3ZI6RE32ZOS7KT
X-MailFrom: worley@alum.mit.edu
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-art.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: art@ietf.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [art] Re: [Witarea] use-cases for meta-URIs
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/yWYwrZrgep54AxM4FKFyAaDGb6s>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Owner: <mailto:art-owner@ietf.org>
List-Post: <mailto:art@ietf.org>
List-Subscribe: <mailto:art-join@ietf.org>
List-Unsubscribe: <mailto:art-leave@ietf.org>

"Soni \"It/Its\" L." <fakedme+ietf@gmail.com> writes:
> indeed, they have not registered their media types. (as is somewhat 
> common with these things...)

That makes it difficult to argue that fragment identifiers are being
used contrary to their definition.

> however: the official mercurial project uses the fragment identifier on 
> a mercurial repository to specify a "revision" as defined in the 
> mercurial docs (one of a hex string, branch name, tag name, revision 
> number, or some other stuff), while archlinux PKGBUILD uses the fragment 
> identifier with a k-v pair, with the key being one of "tag" (a tag 
> name), "branch" (a branch name), or "revision" (presumably it only 
> accepts a hex string for this one), and finally python expects a bare 
> "commit hash" (hex string).
>
> that is, for the same repo, mercurial expects to see #foo while 
> archlinux expects to see (e.g.) #branch=foo and python expects to see 
> #[the actual hash]

Yes, but ...  Validity comes not from what the repository is, using "the
sem repo" doesn't matter, because a repository can be accessed by many
URIs.  And indeed, it's possible for a media type to specify that many
different fragment identifiers designate the same sub-resource
"fragment".  Validity is about when a URI specifies a fragment
identifier, fetching the resource specified in the URI also gives a
media type, and then whether the fragment identifier is being
interpreted by the fetcher in accordance with the definition of the
media type.

Can it give a specific example of such an incorrect use of fragment
identifiers?  That is, a URI-with-fragment-identifier that is used in
the wild, where if *I* fetch the resource using the URI, and look at the
media type, I can see that the fragment identifier is not being used in
conformance with the specification of the media type?

Dale