[httpapi] AD review of draft-ietf-httpapi-linkset-06

Francesca Palombini <francesca.palombini@ericsson.com> Wed, 05 January 2022 00:44 UTC

Return-Path: <francesca.palombini@ericsson.com>
X-Original-To: httpapi@ietfa.amsl.com
Delivered-To: httpapi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 725D53A2236; Tue, 4 Jan 2022 16:44:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.675
X-Spam-Level:
X-Spam-Status: No, score=-2.675 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.576, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tZZN1LYlaxPl; Tue, 4 Jan 2022 16:44:52 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on0622.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::622]) (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 DF3563A2281; Tue, 4 Jan 2022 16:44:37 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FggPGRCbSTCZD7zn/WnTNT4eAJHxPsjWWlE5PWphyDo+y5z+PF5iI7f5PIflHvAWwtWMRHSFKXox/C+8pPfvXO60WPgNpOIZ/CSRRxJIBl9E8w1/02ZegxGMJTlCA/wDzEljpTuU7IfwoaySp6vxW4UxVk4RiGHACs2eX9U4WMbbdzciDVp0+VRTTNXKQ1nLmXA9iu8NEyUxPXWHz2Wb/rGRW7UNQUukj6GgsV8b5edx6KFneOWp/H2TnOxUqIgncfEAW+vUpCiIP2CVetnEU+vs3j1YGfIyUJN9yVeGuI41DVdzJCG33CfnJc6w+jo/ZD1ua5iI/oSYzqgSSBUX6A==
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=Ua22cTNP5wuAO4KHtgOH83Nt/w72ed+3iQ0yWTGhJys=; b=mP/tj1/ySH6EZ/Qa8/rhcMIQfJyUkBc4mgXy5z9AKv76LGhAeXqpimr5g2yY7KZfOsKQkPxYPY6D9ZPIvc30AcdzdBJoPfw38mmKRJPrIHjLoSkva2Y5zwjA5sw1mHijM4BsR6DHvxUZF/rFhlGx6dUlBUWte4t3ITafotyA5GAZfuTYmF/c+6UwMEmP9sWYCk08FFCXGwryzwBDYxMqqzn8Ts7LYgkiJQn6QG9l8C2GTWS0EYnhCVeEs/ullg5FdM9NBxQqOu0sYReW3OWH0CGSCYd0dCe/4nJrsiR1klhSf9k7oRl4VXLNUtXiBjO0KoIe97oRPjRf2+2rD1CMSQ==
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=Ua22cTNP5wuAO4KHtgOH83Nt/w72ed+3iQ0yWTGhJys=; b=Gfg9P5DgQni0L0w7MEynisTEVtDT6n0tMM3n5K2zilfg6TdtjueC6oRiZNjMrbqEUAfEyFQj/v++LxrjeGalnAIMW5zkXV2nmRiDEZC1PmUxdggp3yP2FddCwu7IkwkxpbsShcQlKB+hBz6YypwVbL7uWmb7tTSFE7ibwNb12JU=
Received: from HE1PR07MB4217.eurprd07.prod.outlook.com (2603:10a6:7:96::33) by DB7PR07MB3980.eurprd07.prod.outlook.com (2603:10a6:5:11::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4867.7; Wed, 5 Jan 2022 00:44:33 +0000
Received: from HE1PR07MB4217.eurprd07.prod.outlook.com ([fe80::e880:a999:92d4:c0e1]) by HE1PR07MB4217.eurprd07.prod.outlook.com ([fe80::e880:a999:92d4:c0e1%4]) with mapi id 15.20.4867.007; Wed, 5 Jan 2022 00:44:27 +0000
From: Francesca Palombini <francesca.palombini@ericsson.com>
To: "draft-ietf-httpapi-linkset@ietf.org" <draft-ietf-httpapi-linkset@ietf.org>, "httpapi@ietf.org" <httpapi@ietf.org>
Thread-Topic: AD review of draft-ietf-httpapi-linkset-06
Thread-Index: AQHYAc0LkPNhP//Ne0W+qOlW847zqw==
Date: Wed, 05 Jan 2022 00:44:27 +0000
Message-ID: <HE1PR07MB4217478A3C6596A688FBB93C984B9@HE1PR07MB4217.eurprd07.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
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-office365-filtering-correlation-id: 27cc67aa-e1ca-482e-9610-08d9cfe4870d
x-ms-traffictypediagnostic: DB7PR07MB3980:EE_
x-microsoft-antispam-prvs: <DB7PR07MB3980E0F2BD9AA0B0D5D63014984B9@DB7PR07MB3980.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 5MOKE6K/ctrnBjg4Asg3xKYxyq21EsUHHtj/5UENCPXm/8woI5xj56D16giKzbzZB/lkcL6uOKGNnH2vXwaiQHyixSVtmnRxTARyLRMgJLEilpvvtjMbH5HpNSI3lihgdlS4UbyDVevd5fYhRedCuN8p+6WPCgjgtr50aWwW7UV2udElqtucSDGZGPRJyJzoBu074F8sFxMFj8vvF4WmAXclxNTujlls+yALdpR1P3bCHKNHrenI74H7Q+W0RYa1vSxiVxnphpzPE8mYjadoHpNpxJD0qSDsKLNxtoHP6kgOBj7gf1rNTVqX6uzv/mF9zWJ5TxuBWsjBm+7EsOmRaLMsT+0T8sRGEkPu5a+pbU7kykgxa+0vw8hLQb8vm9SCZk9Gw/BzGHPs6AKm//4snRccZc2lTBlzkdxhHMNEWoLV++aUN4GPYw+HlMzM2HZm82FYHbnnNZR69Wp377EMQCZk9AN0fcXHo5wGltCGiLmWloWjaHkXJlujZHvKRonmtJad8V6Szp1kuX241HTVhPTdnmAS4ZvswVx/cr3AF4rZE38o661ruxvuZO+pDB098BwkgfekqRGmVAsgn38u9ieoD54a76GI0UOb+iP6Cl8jbLBqp+/CzVGyT+SAznkVdmQV/DyFkqYMmXG6WIgf4d1gsLWIIhRTaJyOTtitOXpsl+HcWiACE304Bp0WvazJ6XZtGIeIa5wSSgg8Y5Wn2bWMxf7GbLYcx64ppOBVCR02DLboTDjLZQCW1YcJ0DyXb2pleyyAVdgIZNpMUkb3tM75UevMfeRw190A7k2ro03SrHUvI28nTfYTMT5m5ZI1
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR07MB4217.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(91956017)(110136005)(6506007)(7696005)(83380400001)(71200400001)(86362001)(122000001)(33656002)(38100700002)(82960400001)(9686003)(186003)(26005)(966005)(76116006)(8676002)(55016003)(508600001)(2906002)(44832011)(316002)(5660300002)(52536014)(66556008)(450100002)(8936002)(66446008)(66946007)(64756008)(66476007)(38070700005)(166002)(20210929001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 5oKyzPGUwAXEk7sxeewxFm83J8f1xh9N6dMIHIV0y/E8sXMNZasws/mT0pdrT5CCm8CIKejlpkEu2AQ9s8SgAPgetxr7HAdX5zCbDtam3YJbGcNkgx2F2YuKtRdq0HrANuwuTcWgeeNYgjZrFXFWKIo3YrbTEDWSYnHVCqupUSxJMbOWVj31ww2c6nWlb8DifVJqqOo1TMb8nlE+e2nAPVizVLqJqmwlBemioYnSjbFImWjoVBh1cbb3/nqKpnO4qOwb6qbAW+/d2TPuTMXk1ol/30McE0qRlRwy4JLrS/2naOwI8gQMfO8Klqt9Y3KpJnA6uoZpCsv10s6ju4hXlcfLlDQlbylKu7dbFnFExOevKLycIi98Ce4YUTG0GGoFm4VqI/PIsxIo+oSU5xx9LhalIH6D4hUlLOXwlQEtqdTHuvzNFK9/48nQe+Q/nEMMQFqz5rCnvCvVH1ZIzWUB+ctbNRTAa5hk00SXb6mguWnutpl8hZJ+txZpT0aedoMzUDDLx8Jow9TW9ILj0fIkH9Utsyq55Im4UmH+c45k4N2nLXjzp6BmADwmEwWStEecik1sX/ypPJN7t9hD31/Rug6vW+yznap/O8Ys/51moneFLoi4Rbz/jHOOffPcuXXuMmqODx5LUkS/IsIkTSX8jXE8ou4wW7UPnuDdPcTPK4mJiwMR+gAcgeuY9Ttj36lhTdxZe2VJs6UtdnbkE5N7R+ti+Q5prUBxMqj7wQKzty8A+Dt6vvHJSpR0UP+8s5IsNcgdVjsAyhc+B1qrBOAfO5Xyv1T1lyaa4zyuQTtu9jgbcSBWjmIa/HdJ2WknTJDasA3IabEqj1AguDI1AsLt8JxWKT+1r8Stcxd2jSpz/lVC+W+WG6BuQRoKtKcdUyuuG9uvV0MbPoO5pijVLKnzCpxi/fwJkpjghKNQTD+0MFmkNmW54kktoX4Lc5GMdaAiRvatZObsqGdANE5hghmsChLcVi5Xg8bFxcmXjyrtpTRNHEx9/jAKwEKVyOa3Ka3KhlssvKO9jOHxBt4x5+o5O9okeb2FEVexr3I3lGC1qj7Q6HBFsGzADw9r/V565mSPaCnyw1sdNvqrDy96vNLD1uXEDOsnQvXw6EtCOCYx+dTTfl77WdXH7wscslMpwK2vwTS9RTYwbbwf3gYMVBjAXVnxXam23kzOHodFboiS1Fe2My8ImJCjxVAio5rRfUD+8R9pRm8T6J/fyIAzmhQNIiMc7HZIWMZj6wvD5y9buNXDMKzijrWxf/Zer3ojIOCixtfWK1Ui8/zpKdi/SWQhzpDaMtuONoukCjTWM8k29FGXsojjXQgzUtO7abT190Vh94kaCAgXRdB134QPyYxbHhAa9khTSmcPjg4wMJwffQbiWERIOh2ryY99bCKx4DqTsjwM6fB8yu2mAEjNy2qSw+uyUHhN4ame7+lCBGgiPN4qvUWGZi8+quMNY+/sYzBr1Vaj0gVouat6IOcl39mI7mDVjQJXGTHqE5MnfC8LST330EUpFRJWPk3dJ5g0xihr15v8OAuWdrBI9GBOhw9nWPUjPR/Qmixv0yUU/sdPc8ap1vC1Z0LUlTemDU8Ue3kLQzh2ApYFxjRJh9Xyf6b/l34oMq5cIocGczFhTQ3HjbckSSEfyIh2K6KQ9Qm3ECEupdIUgIyxoZOFBwaq257z8KwFkFAexBH1saZWk7QNKZ/dJhafjks8EzIyNleMr5LexdKwm9h75E9o7xU+cYy5HQ==
Content-Type: multipart/alternative; boundary="_000_HE1PR07MB4217478A3C6596A688FBB93C984B9HE1PR07MB4217eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB4217.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 27cc67aa-e1ca-482e-9610-08d9cfe4870d
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jan 2022 00:44:27.3383 (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: cDf5ehv2qPTNw5MFpNAFVBAgHtRmH0vs6JvolazTy88C2d7Mwz8mA/mCp921ZVDJ8CXKmt0txEDWbGIU63avFy+VjmOXhZhQYTsyb1XsfFcqaSH9KIv/rud2WqsYSMYW
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB3980
Archived-At: <https://mailarchive.ietf.org/arch/msg/httpapi/MW50xOZmOd_nwDqoqsMb9WOLD_A>
Subject: [httpapi] AD review of draft-ietf-httpapi-linkset-06
X-BeenThere: httpapi@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Building Blocks for HTTP APIs <httpapi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/httpapi>, <mailto:httpapi-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/httpapi/>
List-Post: <mailto:httpapi@ietf.org>
List-Help: <mailto:httpapi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/httpapi>, <mailto:httpapi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Jan 2022 00:45:02 -0000

Thank you for the work on this document.

I only have a few nits and minor comments, please address them at the same time as the Last Call comments. I also have a question to the working group, see point 18 below.

I have opened a github issue with the text below: https://github.com/ietf-wg-httpapi/linkset/issues/62

Francesca

1. -----

   The following sections describe uses cases in which providing links

FP: s/uses/use

2. -----

   other approaches, i.e. it is possible combine various mechanisms to

FP: s/combine/to combine

3. -----

   specifically by its ABNF production rule for "Link" and subsequent

FP: Although not a strong requirement since ABNF is referenced by 8288, I suggest to add a reference to RFC 5234 to this document as well, since it appears in the text here.

4. -----

   as separators but also newline characters as a means to improve
   usability.

FP: I am not sure I understand how newline characters improve usability. Maybe some text could be added to explain that (or if you don't think it is necessary, I'd appreciate your answer to know what I am missing).

5. -----

   usability.  The use of non-ASCII characters in the field value of the
   HTTP "Link" Header field is not interoperable.

FP: Is "interoperable" the right term here? should it not be "allowed" instead?

6. -----

Section 4.2

FP: It would have been nice to use CDDL (RFC 8610) to defined the structures not only in text. I usually recommend it for specifications defining JSON (or CBOR) structures, because writing that down often uncovers imprecisions and questions about the definitions that don't come up otherwise.

7. -----

   The "application/linkset+json" serialization is designed such that it
   can directly be used as the content of a JSON-LD serialization by
   adding an appropriate context.  Appendix A shows an example of a
   possible context that, when added to a JSON serialization, allows it
   to be interpreted as RDF.

FP: It would be useful to add the reference to JSON-LD [W3C.REC-json-ld-20140116] that is already present in the appendix. I would also appreciate a reference to the RDF specifications. Also, the RFC editor will most likely ask you to expand those terms on first use, so I encourage you to do that already (see https://www.rfc-editor.org/materials/abbrev.expansion.txt)

8. -----

Section 4.2.2

FP: nit - I would use "contain" instead of "have" when talking about members in JSON objects. A couple of examples in the text:


   *  Each link context object MAY have an "anchor" member with a value
      that represents the link context.  If present, this value MUST be

...

   *  For each distinct relation type that the link context has with
      link targets, a link context object MUST have an additional
      member.  This member is an array in which a distinct JSON object -

9. -----

FP: I will fw this document to the I18n directorate mailing list, to see if anybody is interested to take a look at section 4.2.4.2 during Last Call. I don't think this should have many I18n comments, since this does not define new concepts but rather defines serialization for existing ones, but if anybody with I18n expertise can take another look it can't hurt.

10. -----

   The Web linking model ([RFC8288]) provides for the use of extension
   target attributes as discussed in Section 4.2.4.3.  No other form of
   extensions SHOULD be used.  In case they are used nevertheless, they

FP: It would be good to clarify why this is only a SHOULD and not a MUST: I expect the reason for it is that there are existing cases where other forms are in fact used. In this case, it would be good to give an example and motivate the "SHOULD".

11. -----

   Section 7.2 shows a client obtaining a set of links by issuing an
   HTTP GET on the target of the link with the "linkset" relation type,
   <https://example.org/links/resource1>.

FP: This text in section 7.3 seems redundant to me, as the reader will have already read 7.2, and IMO this text is not really needed, so I would suggest to remove it.

12. -----

   voc/?show=linktypes> as was used in xref target="Response_pr_at"/>.

FP: missing a "<"

13. -----

   The link relation type below should be registered by IANA per
   Section 6.2.1 of Web Linking [RFC8288]:

FP: I think this should point to Section 4.2 of 8288

14. -----

Section 8.3 and 8.4

FP: reminder to send the media type registrations to the media-types mailing list for community review (good to do during IETF Last Call).

15. -----

   context maps "application/linkset+json" representations of link sets
   to Dublin Core Terms.  Note that the "linkset" entry in the JSON-LD

FP: I would have appreciated an informative reference for Dublin Core Terms.

16. -----

Appendix B.

FP: Thank you for this, it is always interesting to see implementation status reports. Even if this will not make the final version of the document, may I suggest to please update it - in particular the following sentence makes me think this is oudated:

  pertaining to products, shipments, assets and locations.  Currently,
   the GS1 Digital Link specification makes an informative reference to
   version 03 of the "linkset" I-D.  GS1 expresses confidence that this
   will become a normative reference in the next iteration of that
   specification.

17. -----

FP: As noted by Rich in his shepherd write up, there are two references that come up as obsoleted: 6982 -> 7942 and 5988 -> 8288. Reading how they are used, I think 5988 makes sense to stay as informative. On the other hand, 6982 should not only be replaced by 7942, but I also think it should move to informative, and will most likely be removed before publication since it is only used in Appendix B which will be removed.

18. -----

FP: Rich also brought up in the shepherd write up that he believes this document should have an "Update RFC 8288" header. While I see the benefit of having that sort of link in the document, I am not sure that it is necessary in this case. Hence I'd like to listen to the wg's opinion and hear if there has been a discussion about it.