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

Mark Nottingham <mnot@mnot.net> Fri, 26 May 2023 00:34 UTC

Return-Path: <mnot@mnot.net>
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 3EDD6C169534; Thu, 25 May 2023 17:34:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.096
X-Spam-Level:
X-Spam-Status: No, score=-7.096 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b="rrI+EgWe"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="Q5Mqjsg4"
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 mrEMbwmEyAcT; Thu, 25 May 2023 17:34:32 -0700 (PDT)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4E548C14CF1C; Thu, 25 May 2023 17:34:32 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 3126D5C0228; Thu, 25 May 2023 20:34:31 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 25 May 2023 20:34:31 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1685061271; x=1685147671; bh=b7h3Wpk80+fNZOXX7Pvf4XUK5hC61KtI980 oCaIVK2s=; b=rrI+EgWetTlTprqdF4bYVlL+KGXZ7yUvL3MqZfp8ZKsSq/sFQMx xhJlpH4WJW7VuMOttAFJB4JPJuZJfIZQLnXgTQz6X+C3ElZc8gCWW9O7zJ7iZ/kD tVC/lyLxSupb/NMv4Ykt89VT5OgU8DLQ2KFYhowfDm8JbaBzQu75dE7GDzzGpbMG qO0Aav8Rmpi9aBGXbfkhGyqiuPpSAhDq+lawYel7WKs/PMIg7q/VDTE+MreJRLIP 8wGPak6R6AGZJ7il9QafAb2t69i9FW3holEOUxvByxaLXfVUunY7dDf/8CET/CbT UEGOlGtTMvDfk97VykxQYwvfaMRpAfxx3qg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1685061271; x=1685147671; bh=b7h3Wpk80+fNZOXX7Pvf4XUK5hC61KtI980 oCaIVK2s=; b=Q5Mqjsg4mJr6CZU2leG/opn9N+BmrjuyLiS8zyzgQFX0D1z/7lm rK9tglaSQNUfHFnE0p7JFLY6KOqEBjD5+zHYmB49tNLLY4dWNVYAUA+I4YLvd+mt d/ZaK0JfXVnFBBbQLohNv8LEWLZ7wiOrewoDvQ+cixrXZS/KYrtTVx2334uMk82S 6N4BsIJQAHTLoqfzfXMYOrX6TJMJ8BlsXxegBMhZQmc88tKSNpK2Ag3bDW39vT7Y CAxfyjNvHzNaCkAkP5sh132WCLISyFmTXovZ97d+Z37reGDsL0PQS1+IVdpItOCy 3ShrQQx5lFLwyJBVsl0ft85APqFmtbEwIQw==
X-ME-Sender: <xms:lv5vZOCdvxvwbJnBcePiDZXatHOgx7isXs__pY47yU2IqljOSU4gIQ> <xme:lv5vZIiU4wraz-GPXS_MsRhGcrjTEAu0KncKc9Mx1LvSS8iGo5tZC8f580BPvyNSL yCSETcgvwNuUmAM5Q>
X-ME-Received: <xmr:lv5vZBnGGO-wbIDTLpMNCLsVESOzImHkKyNiF2r94jTjAw4LMzQPYUMYopEow02yhU1Nrt2FGMMkKa4JeCsTvq3vXATTZ3517dQJy9E8K7hMTXCnFlJ89x3z>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeejkedgfeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne goufhushhpvggtthffohhmrghinhculdegledmnecujfgurheptggguffhjgffvefgkfhf vffosehtqhhmtdhhtddvnecuhfhrohhmpeforghrkhcupfhothhtihhnghhhrghmuceomh hnohhtsehmnhhothdrnhgvtheqnecuggftrfgrthhtvghrnhepueduleelieffkefhgeek ieevfeffffeuuedvvdeliefhueffleeftedtgefhhfegnecuffhomhgrihhnpehgihhthh husgdrihhopdhmnhhothdrnhgvthenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr mhepmhgrihhlfhhrohhmpehmnhhothesmhhnohhtrdhnvght
X-ME-Proxy: <xmx:l_5vZMw6dqGut2e9to6VjCfYl014x1J3Suj-mdEo0FAl8PNYEerBsQ> <xmx:l_5vZDQVflC-4YRxG2CExxyEUpyhAGeCLUFwmupGn0sG2MMTOIayOQ> <xmx:l_5vZHZbkrGJmtPpNUifwl80KB89NOk4m6NGfwGxBTlfL628HUUnmg> <xmx:l_5vZNd5YjLwuOSAsFZESSHTMxCw7jz9xwgiBF9oRxVkf0_kio6oQQ>
Feedback-ID: ie6694242:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 25 May 2023 20:34:29 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <VI1PR07MB4447844ED5B94E350D71944E93419@VI1PR07MB4447.eurprd07.prod.outlook.com>
Date: Fri, 26 May 2023 10:34:26 +1000
Cc: Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>, "gen-art@ietf.org" <gen-art@ietf.org>, HTTP APIs Working Group <httpapi@ietf.org>, Last Call <last-call@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4439AC5D-86E5-47DF-9C3C-B4997BCA02C8@mnot.net>
References: <168424064858.44084.3692769234533396629@ietfa.amsl.com> <34AA44A9-B351-4798-8920-90724F600D8D@mnot.net> <HE1PR07MB4441A4329BA51DC42C9796DE937C9@HE1PR07MB4441.eurprd07.prod.outlook.com> <C5848939-4628-4760-B1B7-ECB7105B866A@mnot.net> <HE1PR07MB4441C788DC81233E50441297937C9@HE1PR07MB4441.eurprd07.prod.outlook.com> <EE952FBC-B0A4-4818-A288-1B320B469D5E@mnot.net> <HE1PR07MB4441EFC69B1BDFED17CDFFE293439@HE1PR07MB4441.eurprd07.prod.outlook.com> <HE1PR07MB4441359730E81FABD0A385AB93439@HE1PR07MB4441.eurprd07.prod.outlook.com> <913BDEE9-26F8-4391-AB57-A40D07C41EE4@mnot.net> <VI1PR07MB4447844ED5B94E350D71944E93419@VI1PR07MB4447.eurprd07.prod.outlook.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
X-Mailer: Apple Mail (2.3731.600.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/yQnf65-A84uQG822gIh3xMWHPFw>
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, 26 May 2023 00:34:37 -0000

Hi Christer,

> On 24 May 2023, at 6:52 pm, Christer Holmberg <christer.holmberg@ericsson.com> wrote:
> 
> Hi Mark,
> 
>> The quotes in my examples weren't part of the value -- sorry for the
>> confusion.
>> 
>> The point is that SF is being retrofit here -- parameters are defined by
>> applications that may not be aware that they're being used in a context that
>> leverages SF, so we can't assume they'll follow SF syntactic rules.
> 
> Perhaps it would be useful to add a Note about that? Because, now the text 
> only says that parameter values must be String, without any justification.

Documenting justification for technical decisions is a very slippery slope; doing so in every instance can quickly make specifications unusable as a practical matter. I don't see a strong reason to do so here, because it "just works."

> Now, making the above assumption that an application is "sf-unaware", isn't 
> there a risk that the parameter NAMES will cause problems?

Yes - but they should be fairly rare, as it's very common practice to use names that are compatible with SF tokens. That said, it's worth a note. I've reworked this section a bit and added a warning that some names won't serialise; see:
  https://ietf-wg-httpapi.github.io/link-template/draft-ietf-httpapi-link-template.html#name-the-link-template-header-fi

Cheers,


--
Mark Nottingham   https://www.mnot.net/