[Uri-review] Re: [art] Re: Alternative representation of URIs in YANG
Mahesh Jethanandani <mjethanandani@gmail.com> Sun, 25 January 2026 22:55 UTC
Return-Path: <mjethanandani@gmail.com>
X-Original-To: uri-review@mail2.ietf.org
Delivered-To: uri-review@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 1EC6DACD75B8 for <uri-review@mail2.ietf.org>; Sun, 25 Jan 2026 14:55:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 39P-4AkrkNk4 for <uri-review@mail2.ietf.org>; Sun, 25 Jan 2026 14:55:26 -0800 (PST)
Received: from mail-dl1-x1230.google.com (mail-dl1-x1230.google.com [IPv6:2607:f8b0:4864:20::1230]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id E6A9DACD75A1 for <uri-review@ietf.org>; Sun, 25 Jan 2026 14:55:26 -0800 (PST)
Received: by mail-dl1-x1230.google.com with SMTP id a92af1059eb24-12331482b8fso919183c88.1 for <uri-review@ietf.org>; Sun, 25 Jan 2026 14:55:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769381720; x=1769986520; darn=ietf.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=tqX/798pRkoxaNBuXLLzbZ3HqTtDimUpmDtl8E9gMJY=; b=ExiCm9hBonllwchaIcQge8zwial3wTBlFWsS5IB8MTjBjxyR7By3shoTw1OxcZrcAE bEuiZJ+qk+KcjdrYl1oLWPGvcLB/97ycKheuAtvePObPp4YDIiu00PUp+vzAyn8wHs9p LJ31Hse/QeHfNoA7tXx+8cNIzEkgvWboGNbdAHQTKoEmI3HR2MDZxiR8S9aM6kfJmdOP 9cWsWyFfFZ40DqzsFBi5DCInyij2LN+yQv2VxCMzNlnNl83a8vdjmocIjt6q1Q2fcAwq vPlq6PlwYI5VV48EBVWCMwYtNAVfLncDCDQTs7j/0Uqnpnoc7HDfAtRo1j5HfcZYlP6z +gEw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769381720; x=1769986520; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tqX/798pRkoxaNBuXLLzbZ3HqTtDimUpmDtl8E9gMJY=; b=Sny7SdMP8Oj7/Y/KPjTUMIOQUJNraX092KiIsz6swmQllyB3/tqFZc3H9sOv42nX5/ GSjkgNqQIH37mK6LQsN70cHb6JrsJ1fyC08Vkm6aVSgCNKX17ZE3tkrO35mGFw+/s/g4 FZSsjwygZiL1BLNSDqOhw3BgHfRmrNvxyhf3x0PCaJqtBVXzqNgzL93fhwhTKacK8s9O 1yi1ju++jmQLAkN0WTs/rjrS6q9NIXS8xhXg5tE41OtjhNyqTV71c2QfuN8osoFOWBgA pqiPKYCq84m1MzkdGgwUHZEYFfFE6acv9CDx/FD9mBN3s5OOXGtunocwLbuEDIIV0ZsH BzpA==
X-Forwarded-Encrypted: i=1; AJvYcCVd/lAO8ZWxvMDmOUatHWflL8P7T1/ZoAhuR4amCj/eAN3CbtmRe8t4W3jKGpIjNMs6oEFHd6h0EIzg@ietf.org
X-Gm-Message-State: AOJu0Yx7kpNbTZpL2V5mZ1qm/XDw3SD3RirkC69oNNSjr70XNV4/2p9H mi44x2/VmRIQW1SrXKe7sYwpqxXeviIPWXvTCqIY1wPJ76lqZbx+hEwWcOQ5BDUJVSk=
X-Gm-Gg: AZuq6aJJTI0xEJ1cetmhlKcE/OE7MODb87xQSPZOg+EBhmS6IAEUtiAzkEvU5+Zvfy1 IDG1kJq/5uGVt5opdF9uEME8RUTPo474dVwauTLwLT4fD+aXlLHPQqOueZkyz12uh1/Sihi4GZ8 tjgE5xhAlSiSIsP0f9C36hoTRiHQ2bPf+RlFTc28suWoLyBG4SDk2kDi/4lRCNAFYWjXHIpYgSs BxJEIYG0wfJ6L4nvmx1xq7Hdfts8xDOaVyGjT6oqsYDrWQ/6k9I2nePZAjU9tT8irQGSaHRB/yb 2lxDJ17yB4f1iy68qcoRr5m/vL/j5qK69n+e3Y5BDzvdbDDrO+IQOo76Oo3ac7f1UM+SX0pcDvX nPg85PTnN2pj+PmGpDxMbOlTV/EsI7o+qFKc9XmhIGaHPn/pNHL7EIpQ94yu4dK/dtZZe/Oae/w YbhwPhqy3uzH6KD1f5RdYjDw+uiXXICDhyfZ+dQu/42pEcmS+w/eCD9b36ZF+nsA4FYg0=
X-Received: by 2002:a05:7301:9f06:b0:2b7:1a4a:d564 with SMTP id 5a478bee46e88-2b764626f46mr1302270eec.42.1769381719835; Sun, 25 Jan 2026 14:55:19 -0800 (PST)
Received: from smtpclient.apple (c-67-180-189-3.hsd1.ca.comcast.net. [67.180.189.3]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2b73a9e1ad3sm10952151eec.19.2026.01.25.14.55.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jan 2026 14:55:19 -0800 (PST)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <9A94D747-2F88-46A2-8DD2-188C1F0B0A3F@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_C53609A7-BF34-4964-AE13-9173E0CE1977"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.21\))
Date: Sun, 25 Jan 2026 14:55:07 -0800
In-Reply-To: <802512BC-D897-40DE-A79F-ACB6E8921DA7@mnot.net>
To: Mark Nottingham <mnot@mnot.net>
References: <87zf669z4x.fsf@hobgoblin.ariadne.com> <0100019be639037e-5401829e-3666-454e-b2c1-e9ac65a04ac5-000000@email.amazonses.com> <e1356eb8-31ba-47ce-9a1f-8d42713184a9@betaapp.fastmail.com> <263D72B1-54D9-47BA-9787-8A3F3889A6ED@gmail.com> <f5bjyx8y0v0.fsf@lochinver.inf.ed.ac.uk> <D7A3B7FB-0284-4DCF-B840-8114860A0FDD@gmail.com> <802512BC-D897-40DE-A79F-ACB6E8921DA7@mnot.net>
X-Mailer: Apple Mail (2.3731.700.6.1.21)
Message-ID-Hash: IWXEKU3V3ORVV7ONM7GW3LQPNEK3I32W
X-Message-ID-Hash: IWXEKU3V3ORVV7ONM7GW3LQPNEK3I32W
X-MailFrom: mjethanandani@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-uri-review.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Martin Thomson <mt@lowentropy.net>, Kent Watsen <kent+ietf@watsen.net>, "Dale R. Worley" <worley@ariadne.com>, tom petch <ietfa@btconnect.com>, art@ietf.org, "uri@w3.org" <uri@w3.org>, uri-review@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Uri-review] Re: [art] Re: Alternative representation of URIs in YANG
List-Id: Proposed URI Schemes <uri-review.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/uri-review/hlrXRjHyXuHJCeW9ZTKjJZ01Qn0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uri-review>
List-Help: <mailto:uri-review-request@ietf.org?subject=help>
List-Owner: <mailto:uri-review-owner@ietf.org>
List-Post: <mailto:uri-review@ietf.org>
List-Subscribe: <mailto:uri-review-join@ietf.org>
List-Unsubscribe: <mailto:uri-review-leave@ietf.org>
Hi Mark, As Orie and you are suggesting, via your option b), naming and the description of the artifact to limit its applicability is easy to make, and I am open to suggestions. For starters, the name can be changed from ‘ietf-uri’ to ‘http-uri’ with a description that suggests that it is for use is for a HTTP client configuration. Something like: The ‘http-url' module defines a YANG 'grouping' for a URL described as a constrained subset of the URI defined in <relref section="3" target="RFC3986”/> to enable configuration of an HTTP client. Thanks. > On Jan 23, 2026, at 3:16 PM, Mark Nottingham <mnot@mnot.net> wrote: > > I understand that from a YANG perspective the focus is on getting something configured. However, what's being talked about here is creating a protocol artefact that claims to be "ietf-uri" -- i.e., something that the whole IETF community considers to be a good way to convey a URI -- and yet there is clear and consistent feedback from the relevant expert community that what is described is not an appropriate construct. > > As has been pointed out by others, handling and comparing URIs requires a _lot_ of subtlety, compounded by the many different syntactic options that they offer. It's not at all clear that this structure has been thought through with reference to how it will be used -- hence the nervousness you're hearing from the URI expert community. > > Furthermore, if something is called "ietf-uri", it is likely to be reused in other situations where the constraints you have in mind are no longer applicable. > > So the fairly strong advice you're getting is to either: > > a. Just use a string, per MT (preferred) > b. Rename to something *much* more specific to your use case > > Cheers, > > >> On 24 Jan 2026, at 9:56 am, Mahesh Jethanandani <mjethanandani@gmail.com> wrote: >> >> Hi Henry, >> >> Can you provide a specific example of how the current definition of 'ietf-uri’ in YANG does not meet the requirements of configuring HTTP? >> >> Thanks. >> >>> On Jan 23, 2026, at 4:22 AM, Henry S. Thompson <ht@inf.ed.ac.uk> wrote: >>> >>> Mahesh Jethanandani writes: >>> >>>> How about we go with option 2 that limits the applicability of the definition to the following: >>>> >>>> The 'ietf-url' module defines a YANG 'grouping' for a URL described as a >>>> constrained subset of the URI defined in <relref section="3" target="RFC3986"/>. >>> >>> Just changing the 'i' to a 'u' doesn't change the fact that it's no >>> longer a UR[IL] if it's restricted to 'HTTP', so IMHO it's still >>> misleading. >>> >>> ht >> >> >> Mahesh Jethanandani >> mjethanandani@gmail.com >> >> >> >> >> >> >> _______________________________________________ >> art mailing list -- art@ietf.org >> To unsubscribe send an email to art-leave@ietf.org > > -- > Mark Nottingham https://www.mnot.net/ > Mahesh Jethanandani mjethanandani@gmail.com
- [Uri-review] Re: [art] Re: Alternative representa… Martin J. Dürst
- [Uri-review] Re: [art] Re: Alternative representa… tom petch
- [Uri-review] Re: [art] Alternative representation… Kent Watsen
- [Uri-review] Re: [art] Alternative representation… Martin Thomson
- [Uri-review] Re: [art] Re: Alternative representa… Martin J. Dürst
- [Uri-review] Re: [art] Alternative representation… Kent Watsen
- [Uri-review] Re: [art] Alternative representation… Martin Thomson
- [Uri-review] Re: [art] Alternative representation… Kent Watsen
- [Uri-review] Re: [art] Alternative representation… Martin Thomson
- [Uri-review] Re: [art] Alternative representation… Kent Watsen
- [Uri-review] Re: [art] Alternative representation… Martin Thomson
- [Uri-review] Re: [art] Alternative representation… Mahesh Jethanandani
- [Uri-review] Re: [art] Alternative representation… Kent Watsen
- [Uri-review] Re: [art] Alternative representation… Tim Bray
- [Uri-review] Re: [art] Re: Re: Alternative repres… worley
- [Uri-review] Re: [art] Re: Alternative representa… Kent Watsen
- [Uri-review] Re: [art] Alternative representation… worley
- [Uri-review] Re: [art] Re: Alternative representa… worley
- [Uri-review] Re: [art] Re: Alternative representa… Kent Watsen
- [Uri-review] Re: [art] Re: Alternative representa… worley
- [Uri-review] Re: [art] Re: Alternative representa… worley
- [Uri-review] Re: [art] Re: Alternative representa… Martin Thomson
- [Uri-review] Re: [art] Re: Alternative representa… worley
- [Uri-review] Re: [art] Re: Alternative representa… Kent Watsen
- [Uri-review] Re: [art] Re: Alternative representa… Martin Thomson
- [Uri-review] Re: [art] Re: Alternative representa… Tim Bray
- [Uri-review] Re: [art] Re: Alternative representa… Mahesh Jethanandani
- [Uri-review] Re: [art] Re: Alternative representa… Martin Thomson
- [Uri-review] Re: [art] Re: Alternative representa… Henry S. Thompson
- [Uri-review] Re: [art] Alternative representation… Sampo Syreeni
- [Uri-review] Re: [art] Re: Alternative representa… Kent Watsen
- [Uri-review] Re: [art] Re: Alternative representa… Tim Bray
- [Uri-review] Re: [art] Re: Alternative representa… Mahesh Jethanandani
- [Uri-review] Re: [art] Re: Alternative representa… Mark Nottingham
- [Uri-review] Re: [art] Re: Re: Alternative repres… Orie
- [Uri-review] Re: [art] Re: Alternative representa… Mahesh Jethanandani
- [Uri-review] Re: [art] Re: Alternative representa… Kent Watsen
- [Uri-review] Re: [art] Re: Re: Alternative repres… Martin Thomson
- [Uri-review] Re: [art] Re: Alternative representa… Kent Watsen
- [Uri-review] Re: [art] Re: Alternative representa… Martin Thomson
- [Uri-review] Re: [art] Alternative representation… Kent Watsen