Re: [httpapi] Linkset feedback

Herbert Van de Sompel <hvdsomp@gmail.com> Tue, 21 September 2021 19:06 UTC

Return-Path: <hvdsomp@gmail.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 D5CEF3A17BE for <httpapi@ietfa.amsl.com>; Tue, 21 Sep 2021 12:06:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 w3ouszYaj4N2 for <httpapi@ietfa.amsl.com>; Tue, 21 Sep 2021 12:06:18 -0700 (PDT)
Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 407E73A17BC for <httpapi@ietf.org>; Tue, 21 Sep 2021 12:06:18 -0700 (PDT)
Received: by mail-qk1-x72c.google.com with SMTP id d207so1226217qkg.0 for <httpapi@ietf.org>; Tue, 21 Sep 2021 12:06:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LqJt557G50RX9o9wfAugoxqJjkz06OAGCOK54D/k/Sg=; b=aZiFQ/+mT6hHrX4qmmVrGEMZXImk8hy2jf5nXALgmADbXbrLChm+1+LfA5rAtkI8Ju n7wMbNtJodQdSfnyyHzJ+doLVoVa/BR5ppn1Nl5E3q9TfSgwdHchHdipJwTqMtE0evZS CXtS+THE+18a2drHB0JzO0u6qLTweMuquaQP0PfyFLE3K5lL/wByf0O0LZetLznbWzvA t31tDI1MTF/MLER/T5eFr7L3bLBSFnJtA9itolJ8+X1Ja0hkMVTdIWumXqgncwSEBmft 1CBkfJiw9TtjiarIHudlV2PdDRBe1dmkuCSIx5qAyYDyTzJM5+OvjvQvEgJGavuXuERX BIKA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LqJt557G50RX9o9wfAugoxqJjkz06OAGCOK54D/k/Sg=; b=Uo4Gy+V9+1crR0a51LhPAB/ZQQjCvJhc8trk63FGEAkhpryVfb/AiN4TTPjUBEhn5q jaEk2SGWL2voDQSDVo0Af8W+XLQ6lzqn//4Z+TxJ0B5i4XdrHvf50mX+4o7TnTf3oXpc 9bZd/RgzT33qUNGz0SMgZU/sHuI782KoClz8UQYvHz/eETNnKq0i1nttLhiXv2D69BQM d5/Pu8ftFMr1cd6Rx5Gj817MpioxMvXGtwYCtv/0sRL/hFU0NBfDR12bBb8yYIDK+/s4 EFYhZERQQqtPFp4bpxK4jJGJnB6ABcumonkouvAIJo2e70PmRCUP6Vjc9GpKl0AKjPUN GnqQ==
X-Gm-Message-State: AOAM533edvRecJUkkmH+P54EiE57EJG+uw8uT+9ZmEZOdGWDETB21hZM dZdzkYGAofF4OLD0Nn+I9BJCdAbI43OwvMKEfyE=
X-Google-Smtp-Source: ABdhPJxRqCkgbCkyvX5lMWIkiXZEsa3XlI2rxj01pBJe/K99EEVHoofk9FSgg6iBtiPdVWJRXUnYo85B8PWXmtWkKxA=
X-Received: by 2002:a25:698a:: with SMTP id e132mr35622022ybc.76.1632251176552; Tue, 21 Sep 2021 12:06:16 -0700 (PDT)
MIME-Version: 1.0
References: <A399513B-A783-41D6-94C9-E65D2C34F498@mnot.net>
In-Reply-To: <A399513B-A783-41D6-94C9-E65D2C34F498@mnot.net>
From: Herbert Van de Sompel <hvdsomp@gmail.com>
Date: Tue, 21 Sep 2021 13:06:05 -0600
Message-ID: <CAOywMHcOt3dJfF2E04Eh54n-JkZF=Ri=C8MXuQRX0O7kQu3UNg@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP APIs Working Group <httpapi@ietf.org>, Erik Wilde <erik.wilde@dret.net>, Herbert Van de Sompel <hvdsomp@gmail.com>
Content-Type: multipart/alternative; boundary="0000000000009028a505cc861768"
Archived-At: <https://mailarchive.ietf.org/arch/msg/httpapi/7Ry5VjV4wnDlmRhu4-pJhMBHWnE>
Subject: Re: [httpapi] Linkset feedback
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: Tue, 21 Sep 2021 19:06:24 -0000

Mark, all,

Erik and I went through the issues Mark raised and have added proposals for
resolution at https://github.com/ietf-wg-httpapi/linkset/issues.

Thanks again to Phil for adding Mark's issues to the GitHub repo and for
adding feedback!

Greetings

Herbert

On Wed, Jul 28, 2021 at 9:27 PM Mark Nottingham <mnot@mnot.net> wrote:

> I went through the link set draft; apologies for the delay. Feedback
> below; most of it is editorial.
>
>
> * Abstract- - '...sets of links as stand-alone resources.' This doesn't
> agree with the HTTP definition of 'resource'; recommend dropping this
> phrase.
>
> * 1. Introduction (and elsewhere) -- it would be nice if this clearly said
> it was defining a _serialiation_ of links, to leverage the terminology
> established in 8288.
>
> * 1. Introduction -- it might be good to mention the nature of the two
> seralisations defined; the reader doesn't find that out until section 3
> right now, where it's discussed obliquely.
>
> * 3. Scenarios -- usually sections like this are called something like
> "Use Cases"
>
> * 3. Scenarios -- it feels like this section could be tightened up; it's
> fairly long for the amount of content here
>
> * 4. Document Formats for Sets of Links -- 'In both serializations for
> link sets defined here, inverse links SHOULD be represented as direct links
> using the "rel" construct and by switching the position of the resources
> involved in the link.' -- is this always true? I.e., for every link
> relation, is it the case that the inverse relation's semantics in total are
> expressed by merely reversing the subject and object? Also, this doesn't
> feel like a SHOULD (which is for interoperability).
>
> * 4.1. HTTP Link Document Format: application/linkset -- it would be good
> if this said something explicitly about whether newlines are allowed, and
> gave an example.
>
> * 4.2.1 Set of Links -- '... the "link context object" (see Section 4.2.2)
> - MUST be used to represent links' -- this is an awkward MUST; usually this
> is just stated ('is'). (this applies to several other requirements below;
> generally, requirements are used to specify what behaviours are necessary
> for interoperability, not to merely define protocol elements).
>
> * 4.2.1 Set of Links -- '... MUST have "linkset" as its sole member' --
> does this imply that if there is any other member present, a receiving
> implementation is required to error?
>
> * 4.2.2 Link Context Object -- 'SHOULD NOT be a relative reference' --
> what are the consequences of violating this SHOULD NOT?
>
> * 4.2.4.1. Target Attributes Defined by Web Linking -- this refers to
> 3.4.1 of 8288, which defines a *different* serialisation of web links - the
> Link HTTP header field. It should refer to section 2 of 8288, which defines
> the abstract model of web linking, since this is a new serialisation. As
> such, this section isn't really necessary; all target attributes are just
> target attributes in the abstract model.
>
> * 4.2.4.2. Internationalised Target Attributes -- as per above, this
> section is not necessary. Internationalisation of those values is a
> specific feature to enable non-ascii titles in the Link header
> serialisation; it's not necessary in a JSON serialisation.
>
> * 4.2.4.3. Extension Target Attributes -- this section should be folded
> into 4.2.4.
>
> * 5. The "profile" attribute for media types to Represent Sets of Links --
> It'd be really helpful to have an example here. Also, they're media type
> _parameters_, not attributes.
>
> * Appendix A - Has the 'http://www.iana.org/assignments/relation/' URI
> been discussed? I note that it isn't HTTPS, and it currently redirects to
> another URI. Did you consider a 'urn:ietf:params' URI?
>
> Cheers,
>
> --
> Mark Nottingham   https://www.mnot.net/
>
> --
> httpapi mailing list
> httpapi@ietf.org
> https://www.ietf.org/mailman/listinfo/httpapi
>


-- 
==================
Herbert Van de Sompel
https://hvdsomp.info
https://orcid.org/0000-0002-0715-6126