Re: [art] BCP190

"Manger, James" <James.H.Manger@team.telstra.com> Wed, 24 July 2019 01:12 UTC

Return-Path: <James.H.Manger@team.telstra.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 C14CC1209B0 for <art@ietfa.amsl.com>; Tue, 23 Jul 2019 18:12:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=team.telstra.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 EOUecvhP-ltk for <art@ietfa.amsl.com>; Tue, 23 Jul 2019 18:12:52 -0700 (PDT)
Received: from ipxdno.tcif.telstra.com.au (ipxdno.tcif.telstra.com.au [203.35.82.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 884CF12034B for <art@ietf.org>; Tue, 23 Jul 2019 18:12:51 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.64,300,1559484000"; d="scan'208";a="145485866"
X-Amp-Result: SKIPPED(no attachment in message)
Received: from unknown (HELO ipcbni.tcif.telstra.com.au) ([10.97.216.204]) by ipodni.tcif.telstra.com.au with ESMTP; 24 Jul 2019 11:12:48 +1000
Received: from wsmsg3705.srv.dir.telstra.com ([172.49.40.203]) by ipcbni.tcif.telstra.com.au with ESMTP; 24 Jul 2019 11:12:18 +1000
Received: from wsapp6783.srv.dir.telstra.com (10.75.131.38) by WSMSG3705.srv.dir.telstra.com (172.49.40.203) with Microsoft SMTP Server (TLS) id 8.3.485.1; Wed, 24 Jul 2019 11:10:50 +1000
Received: from wsapp5585.srv.dir.telstra.com (10.75.3.67) by wsapp6783.srv.dir.telstra.com (10.75.131.38) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 24 Jul 2019 11:10:47 +1000
Received: from AUS01-SY3-obe.outbound.protection.outlook.com (10.172.101.126) by wsapp5585.srv.dir.telstra.com (10.75.3.67) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Wed, 24 Jul 2019 11:10:47 +1000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MXGVG9U4wk20+Kr8zRl6lmTPW3nI2KW0gOL1ASh5KK/szJ2ZoiZX8L7eje/TKvOMBZqj3acjN1kREehG2NjaUGYYvFtydwhnN5iHjY3v/b4fm3O86penDAlnq2EvsKRr48ZrgkFMnj6GuEDCqTWshn7+svHhPkHU5Kcan3c7Zbt4Ep6dRICbI8JAX5IQKoW31nEj5/BP1UtqaPXC2bCmDQe9KwJ4F/UpampXajiWzTDDZqWbsbIuXBwzgwkSXiwFeX5vemXPAVgS4F2NmXRGM+roc+DGiEtTHaCE/Wj2OSJGmCaK3a9sb3Y+xXoh9ZBmpl0nLR6bY2spQAGuin821A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QBRWEZ6dPSTHlw8MHOfFqqqELTOHZfFtjx676c3a5K8=; b=S7cjly2bZraczCkwHXTrr8Xdw9Ad92d79w7UxlCFF0Hfc/EcJwAbc46KsUlc/cakh/GVeNMZGPNEM5JasxEmaBOYlwkl6/J2xgPU8u15AWW6T7EKwQvXbpGBylwr6rNpeXY4dfseud7l+Aw8ZguEuIbgUbV2Ek8oGVI+EA56WYApxARSGh9gHUyCEZCyBrOSZjuTDg6tg4XBbLbHGzcXNOf2Kjj/KiUvIaYGffRukwyN1qDkaOqIsOC6f9T6UiQBcHeHKlyY4VhcoT3Zzf5EREWOWPFHoeuIz7jgioT2RvfDTWRHvGd6YzN/FX0pYMD6RlYa0WcEQROwWqqLD+Y3pQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=team.telstra.com;dmarc=pass action=none header.from=team.telstra.com;dkim=pass header.d=team.telstra.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=team.telstra.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QBRWEZ6dPSTHlw8MHOfFqqqELTOHZfFtjx676c3a5K8=; b=LXOTvU0FPDIReUOsRnAIaI9og+n0ofwecpZrl141i1yfRPvDmNoB8AUdZFiKQhSN/icZ/Fs0WN+mOyI3Cm6+pXe/F9VCfFfO1vlRlwYw3PeCiLv1plesP8YH3f1T70Yhv+uHHtyq9UpKcn6vNTGpcQPrJohTDayX0e6xHroffy0=
Received: from SY2PR01MB2764.ausprd01.prod.outlook.com (52.134.190.138) by SY2PR01MB2761.ausprd01.prod.outlook.com (52.134.168.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.16; Wed, 24 Jul 2019 01:10:46 +0000
Received: from SY2PR01MB2764.ausprd01.prod.outlook.com ([fe80::a080:9084:3e2f:68ab]) by SY2PR01MB2764.ausprd01.prod.outlook.com ([fe80::a080:9084:3e2f:68ab%4]) with mapi id 15.20.2094.013; Wed, 24 Jul 2019 01:10:46 +0000
From: "Manger, James" <James.H.Manger@team.telstra.com>
To: Mark Nottingham <mnot@mnot.net>, ART Area <art@ietf.org>
Thread-Topic: [art] BCP190
Thread-Index: AQHVQOOXnc1UwWl06UeOlLmwmWahZabXk8YAgABsZICAAE1+AIAABRCAgAAFTgCAAAtaAIAAA48AgAAD/ACAABXpgIAAAtyAgABhWMA=
Date: Wed, 24 Jul 2019 01:10:46 +0000
Message-ID: <SY2PR01MB27645C7244C3ACC84AD676CEE5C60@SY2PR01MB2764.ausprd01.prod.outlook.com>
References: <422255D5-FD8A-48D8-8442-1A13E3E7B884@tzi.org> <8872cc5c-34c5-845c-c930-3a7f0e3501f2@nostrum.com> <E1B1F492-6DD7-4FAD-AFE0-BD19E0197892@tzi.org> <d79add04-9562-83a8-9e4e-fc44fff276e1@nostrum.com> <52b99182-686d-4c12-9a3a-24dc8d696c73@cs.tcd.ie> <ef8e04ac-a085-633d-e680-2cf7e1c47efd@nostrum.com> <CAPpiK7VsKLMtP4wB+vPLYc2Tr5OZF1ex=nt4K1biTKkjCZTuMA@mail.gmail.com> <9240360A-3F24-4D9F-A247-E1111CEE5EF8@nostrum.com> <CAPpiK7VUo5aATxHG0y0QmGUzCVBLFFx19uB0jvyiov-LOmr2=Q@mail.gmail.com> <58caec85-e111-1628-3cdf-956fa1c1ad58@nostrum.com> <74E02CE5-39E3-4ED9-BBBA-122A807B5D84@mnot.net>
In-Reply-To: <74E02CE5-39E3-4ED9-BBBA-122A807B5D84@mnot.net>
Accept-Language: en-AU, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
dlp-product: dlpe-windows
dlp-version: 11.1.100.23
dlp-reaction: no-action
authentication-results: spf=none (sender IP is ) smtp.mailfrom=James.H.Manger@team.telstra.com;
x-originating-ip: [203.35.9.32]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 3a96d858-903f-4d06-7e19-08d70fd3c23f
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:SY2PR01MB2761;
x-ms-traffictypediagnostic: SY2PR01MB2761:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-prvs: <SY2PR01MB276187173F769EEAD60D2E7AE5C60@SY2PR01MB2761.ausprd01.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0108A997B2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(366004)(376002)(346002)(396003)(136003)(39860400002)(189003)(199004)(71200400001)(6306002)(86362001)(9686003)(14454004)(76176011)(6506007)(81166006)(71190400001)(7696005)(2906002)(74316002)(256004)(6436002)(55016002)(316002)(476003)(446003)(25786009)(81156014)(8676002)(99286004)(26005)(53936002)(68736007)(66446008)(76116006)(6116002)(5660300002)(66556008)(486006)(64756008)(66476007)(52536014)(33656002)(8936002)(966005)(305945005)(66066001)(229853002)(11346002)(110136005)(6246003)(66946007)(102836004)(3846002)(7736002)(478600001)(186003); DIR:OUT; SFP:1102; SCL:1; SRVR:SY2PR01MB2761; H:SY2PR01MB2764.ausprd01.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:0;
received-spf: None (protection.outlook.com: team.telstra.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: bs2o/hd7tP6NcdadJA+w74Jat514buNd+3k3iUL7nA9Xib9esP45pGOnOOkxcXuE7gqZhXTcbasLzvUsnaJlgc+dFH4Maw/Xn0jSQQLDPaBDXJHR1D212VG8BleP5KMnrjQH+MwgWKswPU4nYMc8h1ydmDKH5McoAG00xjtC2YTAZYXtR9k10Cv8C6g6t5skek5z6Ix4jUFUS5emKt/U5ed9KrRcQtLNgjvUlKvTRvQeYExjps98Vya4PlvKckbkZElDQ8VBIuU3hzvj1waxw9dF4ZPOrF4v6c+ZeLgMaNO0STYEOXhng7bNXdHRxuQxJ2Ebbxb0sukaDux7C/lOM7+4CDH9CrwYIow850hKhRcklBaByGmuTHLTMp4DlOburqbjO8NKApNW2KHVTge1zZd+R2RV5neZ+s35TDBMnEg=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 3a96d858-903f-4d06-7e19-08d70fd3c23f
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2019 01:10:46.6002 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 49dfc6a3-5fb7-49f4-adea-c54e725bb854
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: James.H.Manger@team.telstra.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SY2PR01MB2761
X-OriginatorOrg: team.telstra.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/UKXF-Ciwjbnva8u6B-AiRZUlq7U>
Subject: Re: [art] BCP190
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: Wed, 24 Jul 2019 01:12:55 -0000

> From: art <art-bounces@ietf.org> On Behalf Of Mark Nottingham
>
> Regarding URL Templates -- FWIW, there are many libraries and a well-defined test suite available; see:
>  https://github.com/uri-templates/uritemplate-spec/wiki/Implementations
>  https://github.com/uri-templates/uritemplate-testf

Unfortunately, RFC6570 "URI Template" is not fit for purpose.

It doesn't support the basic feature of allowing a site (template author) to choose its own names for optional query parameters. For instance, if a spec defines variables "searchTerms", "startPage", and "language"; a site can't chose to put these in query parameters named "q", "pg", and "lang", that are omitted when no value is defined. {?searchTerms,startPage,language} will omit undefined variables; ?q={searchTerms}&pg={startPage}&lang={language} will use the site's names. A site cannot have both with RFC6570.

It also tramples on the meaning of commas; giving them meaning that the URI spec never did. For instance, /pay/{amount},{to},{desc} looks reasonable, but in fact if the "amount" is given as an array its expansion will include the reserved "," character so it can override the "to" field.

--
James Manger