Re: [Gen-art] Genart last call review of draft-ietf-httpapi-link-template-02

Christer Holmberg <christer.holmberg@ericsson.com> Fri, 19 May 2023 12:13 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 15513C15171E; Fri, 19 May 2023 05:13:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
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 JynW9fjhjAPE; Fri, 19 May 2023 05:13:33 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2061.outbound.protection.outlook.com [40.107.22.61]) (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 C7BF3C14CE39; Fri, 19 May 2023 05:13:32 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a8xMwsejGc8IZT5Xj6L+suQNXqT83rOZdnh/Tug4QhG5qbVh8kLEaasL1FL2ymdvD7mWY9F6OfDJwi8g2tEqPkMVZ6kUPs7TkLlapNQoYh2mBA53DUzGjY6lS4Wr8YaZ/HiscZHDWD7A78Y97nMYsBJS7a+GTt/s8qmAbZp1rFjgOA2t/nfQlTWqRjHKGvcZ4UOb5H+kG6YPlqAAljy7mSK5OQvkGKg3PqqQmgMZ8r+6t0ymo00xKd81Zwaoq19zoX52JPhYdFmwlePI7nBnyOMCr3+sni33UvSYAE6tmyalDdvxfbCm2b5hWgyylPpexqDJmZuOVLIVqSk+80n61g==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=751QBLOlJxS/F1ASd5xsVYkYnrrc56fLorgvfClKIbU=; b=jboaE2Q0BW4ge5WG66aWs6pzDQC54UCGk1uGo/RhzNkqesLGK5e+mYcKcKEp4hJTO8jzatQ2PDvZpmCH+3pFwZY8WQsng2vXrw1J8sdsJlr55gXxw/5RSzbWBpmWp2Vx/YdAOHU7vMNgKylhzu0JcZ1eqSP1ZjA5Umg0EsZGeMWqmj0drIybroUVGfv93Uh0ptr+FpIeVUwwKdCCyHQ5S7kDrpJKYOf7JKaSvG4qANZDPtmiM3fHEhUTdCL5BdgHsY5mz/FaKBIZLPBMnnt+J1WU3og07O0bMN+VEgpqceLO4XSfxJK4Pb6npaXcjxiq9UAbcye6vSTi5zPDVoXCQA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=751QBLOlJxS/F1ASd5xsVYkYnrrc56fLorgvfClKIbU=; b=Z9wVqFWgdGMG1MHk+9vE26vBD8HuiDH9U1Gr6A8UE2HCAp+xHVkE6RiUJ3SV+fm4H9LsTqZJ7X3QRNvpQel+bl9DGBnPlT1UUesaEpzD1GCGviIoHik1+qwUBRuXBemWU5wYAvvk0/A57gC95x4IWmPVKbzvUuYta238TUbqkSE=
Received: from HE1PR07MB4441.eurprd07.prod.outlook.com (2603:10a6:7:9f::27) by AS1PR07MB8407.eurprd07.prod.outlook.com (2603:10a6:20b:4c5::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.19; Fri, 19 May 2023 12:13:29 +0000
Received: from HE1PR07MB4441.eurprd07.prod.outlook.com ([fe80::8542:2a28:6718:b1b4]) by HE1PR07MB4441.eurprd07.prod.outlook.com ([fe80::8542:2a28:6718:b1b4%7]) with mapi id 15.20.6411.019; Fri, 19 May 2023 12:13:29 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Mark Nottingham <mnot@mnot.net>
CC: "gen-art@ietf.org" <gen-art@ietf.org>, HTTP APIs Working Group <httpapi@ietf.org>, Last Call <last-call@ietf.org>
Thread-Topic: Genart last call review of draft-ietf-httpapi-link-template-02
Thread-Index: AQHZiYk+/vdkoSTvK0uTtDhdp6KeZa9hdyHQ
Date: Fri, 19 May 2023 12:13:28 +0000
Message-ID: <HE1PR07MB4441A4329BA51DC42C9796DE937C9@HE1PR07MB4441.eurprd07.prod.outlook.com>
References: <168424064858.44084.3692769234533396629@ietfa.amsl.com> <34AA44A9-B351-4798-8920-90724F600D8D@mnot.net>
In-Reply-To: <34AA44A9-B351-4798-8920-90724F600D8D@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: HE1PR07MB4441:EE_|AS1PR07MB8407:EE_
x-ms-office365-filtering-correlation-id: 39a8ccbf-baa5-40ff-ade2-08db5862749b
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: t2ooqRfl8iUuP4Cc2yY06t4JvxJdhKBkgczWO47KFsY93jBMjOpAniqygvKwgpWax28tJIOponeAWecE+mkhOxJigj08n5UtMqdbr0Bmjn/20J4WEvWXYAo8dF34XAM1fg2JoNa294m5EgZKa3CF9YmzD2/EMgM6K/zHaLDEqpTrEDIFIclX7w+kPaxoeCEKpIDtdDElMmwIQ+WmOT1KTEvI2HrJf2yIAWrRjJQwVmVfOatZUfRkBgWgdKvgGiQle9oCeW46Eld7P5CA3nsgAjT+tFPFOWwOKBZzpKVleOa55Nf6JsrCWpK2VY2YP7X5033j6OnoxPJQ30jByGffbfANinJVUHccsNJNeqhDOPSs9cM7ZvXgmkBZ2eLE6INmLMGrgy2BXEG2ydmjJxqg6EH7aGtDQ7uIKUFD5lkovoTlWzbawyczq2waTUpsGYpTi/2LpiI1qBUuKUWKmSQczn2Mt3P7raQs7CpiT+DdtgeD/W9l0Y28876g1Cq1dloKV5MN2kMvTKfHsn3vttf1hYq768jNQATs1R2sDzrBCitJnl7TPzk5EbBSQz734o1rzMsHN/qyQZXo+T+z6RtlpszfGQx1aypymQYA362epoeF07W12eIUR+CHVJZ27TOl
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR07MB4441.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(376002)(39860400002)(136003)(366004)(346002)(451199021)(186003)(99936003)(44832011)(55016003)(7696005)(33656002)(2906002)(86362001)(38070700005)(478600001)(54906003)(71200400001)(82960400001)(122000001)(26005)(6506007)(38100700002)(9686003)(316002)(64756008)(66446008)(66556008)(66946007)(66476007)(4326008)(8936002)(6916009)(8676002)(41300700001)(76116006)(5660300002)(52536014); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: hPmYCZAuth8m/SDatA8PUmeZNIqRNW6o8/Xz8F0K1RC4r6cgZ6NnMoR+hq9V7d7Qrq4XK+wtt+jC1FMjc8aKBUBeqK+upS4luGn11wZ5/fLCGYwH7Jtz7VNfallOnBEGr7opZqRb87FSJA5+F1Yr1JmQhk5DuATBQSK06qMincCvH+93Vv8TP2/DMnSFWFiegfLQoPPlY7Yr0/oVIiGMSucDNSkW4cOboSjymUEJei8g2hbasoK7zhbFOxBW4XptIFYELK43CJyqQ9HFEYPB+Q7iSsSWTUE5jbhnsRfYPaBnVHCzRRyTmYJqWLE0OcodGbZ7QQwb06Inei5o1Bi/eUGXu+/gzc9LSy93TTkjgLo1Fb5uPNrgjbholIkXYvMU7AB38YVvBZajFwchCv16VqR6lsPhRnyHNHJHHTgrPYgSJRU3Vvjka3UGWcIgvnD4xKauPid604uIRIbOU/cujGG71ejFI5YYD9A2kdQoSa/Lw8UOm5WJYcK4GRfWLlVeY0eJ/0NKpyonLk5ZJzwcM0CjOgKDKWVM6cd9mZzQU55eLmWY10J/kMj8kIAGgFL5XRxAUlR96UZ6cG/H7WFF0x2eI5tGDvTxar/YASgsLhVWWUwwveE3wWEFWvr+eg4GAR8xCKPUs3vcdxD1zwD1cFE7MVXvNoGXde4Z6Bv0mDEoq1VRmF64J9kIC7ggM7Sz+Dj/GL20vGZM/IRWr13FPKCk15QzgPDBqeJOfZk71HSmXLTkmVW4NDRS0NeKgYgs/S8S161RhYOTETNrXpHOxqobNyExs8XpaDWxS4OgKZ7BTXuaNlF+D2kdFePyfq1KXzHuP9rmRkIOSaLKsDfgTFdyV84bHkluaOoJJ/c18L4/CHj9v/NVChQgHVpz1NmVNiXh5uX/izi8lmyQ+sVZ36gvmaBTmfAbAwTg79Y/7XjSP4yFkjBZ24CD/d9c/TxPP7J2R19wFgYTW7bRKB5PjfWF1GEyACxYQVG0nYKG1Q9v3ANCR+hfgApwnxS7P38CIrtkLo4/5W5vJBLRkqe0pwFIEKyB5ziqBvdCsDtv5MxfaFLDs9x9rka5OyhlcNFVYmB2TIH9zjJVkgPzbpdpf0b1EIjntprwCazFhwvl0orvb2MOB2JMtdijfqubi/3FYTvL5dvvfWA6GV8db/yzh58XkhoDh4Xanfv+woZ0H1Q7g3C1R6vE4Jp1XdfsEP79Z5RI+L3DaipMS8qFlA2Xa+zlhEtB8g8IgcUH92Pj+wuLS4yKpwe/tDjmONslSmFUoDnmMkY3hbd7KHFl80xYVhpDcseN/05bRgy1rN0HXOqHxbvA82K2cSDmXar/JYVCFv3oSySfK3NrQzleXX0Y8WaDxrJs+ELWZBfeB8hbiHPj2vul+atfzI9DRtaOYjohH//JMKocAPlvhnmgddPVFPMU2NmWHJTvnuXXpI1LOO+qaBqX8+TGxZtLnVmTQY/Igmes/VxGhLRy2uBIM90vYnX5OAzIe/+pLCsSjPBWZ07du5i/0b+hqYD/Ye1pKfLN16x4+MeTikSWO0JBbmbcp2cIPh32IsnBWcVWB9Au65U7jFVsGUuxdRZ6jaslfk0RyMzek+CmCeK7awVFznOFhw==
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_001E_01D98A64.739D4670"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB4441.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 39a8ccbf-baa5-40ff-ade2-08db5862749b
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 May 2023 12:13:28.9025 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: bdEtRRacO0CjqKOG1bfLL8oS4ZjC9Kipo1yvusbd1RGq2MldvHGOa/G3ArCgBUMTVv9VxxCwtmOGHa7/abzEHplmPSHluhlLdHU+w4cpSzo=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR07MB8407
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/xZO0u3scyj8-oJHkXekITKy4CEA>
Subject: Re: [Gen-art] Genart last call review of draft-ietf-httpapi-link-template-02
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2023 12:13:37 -0000

Hi Mark,

Please see inline.

>> Q2_1: There is no ABNF for the header field. There are examples using
>> both quotes ("/{username}") and angle brackets
>> (</books/{book_id}/author>), so please include the ABNF.
>
> This is a Structured Field; in the HTTP community, we've agreed that 
> documenting them with ABNF is not good practice.

Gotha.

(I was comparing this to RFC 8288, and assumed that you still would have to 
define the ABNF, following the rules of [STRUCTURED-FIELDS])

But, then I have the following question:

Section 2 says:   "Its value is a List of Strings.  Each String is a URI 
Template..."

According to [STRUCTURED-FIELDS]), the syntax for String is:  sf-string = 
DQUOTE *chr DQUOTE

>From the example in Section 2, </books/{book_id}/author> does not follow that 
syntax, does it? You must use DQUOTEs.

----

>> Q2_2: The text says "Parameter values MUST be Strings."
>>
>> It is unclear what "Strings" means. Does it mean that parameter values
>> must be encoded as quoted-strings? If so, why? RFC8288 says that
>> parameter values can be encoded both as token and quoted-string.
>
> S 1.1: "This specification uses the following terms from 
> [STRUCTURED-FIELDS]: List, String, Parameter."

Yes. But, in Section 3.1.2 of [STRUCTURED-FIELDS] there is no restriction that 
the Parameter value must by String. My question is why you are making that 
restriction, instead of just allowing the different Parameter value encodings 
defined in [STRUCTURED-FIELDS]?

Regards,

Christer