Re: [core] Link target attributes in CoRAL (was: Review of CoRAL)
Jim Schaad <ietf@augustcellars.com> Tue, 13 November 2018 05:09 UTC
Return-Path: <ietf@augustcellars.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C094129C6B for <core@ietfa.amsl.com>; Mon, 12 Nov 2018 21:09:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 UhVZssAYP_Ru for <core@ietfa.amsl.com>; Mon, 12 Nov 2018 21:09:32 -0800 (PST)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 35D97126F72 for <core@ietf.org>; Mon, 12 Nov 2018 21:09:32 -0800 (PST)
Received: from Jude (210.160.37.27) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 12 Nov 2018 21:04:16 -0800
From: Jim Schaad <ietf@augustcellars.com>
To: "'Christian M. Amsüss'" <christian@amsuess.com>, 'Klaus Hartke' <hartke@projectcool.de>
CC: core@ietf.org
References: <CAAzbHvYk9dUvGmYsX1U=0qcU7330bYO6YjGAa51gFKMGGoy-Dg@mail.gmail.com> <20181105123604.GA9680@hephaistos.amsuess.com> <CAAzbHvZ=4GaPH6FXj4ZuOzMLrQbWUo-Oc6CUmiA4O2b3PhK-rA@mail.gmail.com> <CAAzbHvaSDzc62-dY-ALQxW6bGKS7avCv795-DUMh0PVRF+yaqw@mail.gmail.com> <20181108113103.GB13498@hephaistos.amsuess.com>
In-Reply-To: <20181108113103.GB13498@hephaistos.amsuess.com>
Date: Tue, 13 Nov 2018 14:09:02 +0900
Message-ID: <000501d47b0f$007301d0$01590570$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQHTTO+CYtfYJXecibqIijavORWENwMCsChUAnhNUzECkIVB7AJKIuPDpPzWjgA=
Content-Language: en-us
X-Originating-IP: [210.160.37.27]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/7he8OUjgYqo-YW-_q1BZre-eLLM>
Subject: Re: [core] Link target attributes in CoRAL (was: Review of CoRAL)
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Nov 2018 05:09:34 -0000
> -----Original Message----- > From: core <core-bounces@ietf.org> On Behalf Of Christian M. Amsüss > Sent: Thursday, November 8, 2018 8:31 PM > To: Klaus Hartke <hartke@projectcool.de> > Cc: core@ietf.org WG <core@ietf.org> > Subject: Re: [core] Link target attributes in CoRAL (was: Review of CoRAL) > > On Tue, Nov 06, 2018 at 09:21:36AM +0100, Klaus Hartke wrote: > > Of course, we could for new link target attributes, as they pop up, > > define an equivalent more semantic link relation type. In Link Format > > you would use the link target attribute; in CoRAL, the link relation > > type. If a converter encounters a new, unknown attribute, it would fail. > > It just occurred to me that there is another point to be made for per-relation > rules: There are target attributes that are URI-valued. > That's something I'd recommend to avoid in the first place, but still does > happen (eg. ol= in protocol-negotiation, or even base= in RD which I can't > really rip up now). > > It's a trade-off, though: While making the resulting data semantically more > palatable, it makes link filtering odder (a `GET /.well- > known/core?ol=coap://x/` CoRAL response one'd need to think `GET /.w- > k/c?anchor=coap://x/&rel=attr:ol`). I still think it's worth it (speaking as > someone who'll have to implement the lookups). Would a more interesting version of this end up being GET /.well-known/core?ol=coap+tls://x/ Although I am completely unsure if that means the same thing as what you suggested. Jim > > Christian > > -- > To use raw power is to make yourself infinitely vulnerable to greater powers. > -- Bene Gesserit axiom
- [core] Link target attributes in CoRAL (was: Revi… Klaus Hartke
- Re: [core] Link target attributes in CoRAL (was: … Christian M. Amsüss
- Re: [core] Link target attributes in CoRAL (was: … Klaus Hartke
- Re: [core] Link target attributes in CoRAL (was: … Klaus Hartke
- Re: [core] Link target attributes in CoRAL (was: … Christian M. Amsüss
- Re: [core] Link target attributes in CoRAL (was: … Christian M. Amsüss
- Re: [core] Link target attributes in CoRAL (was: … Christian M. Amsüss
- Re: [core] Link target attributes in CoRAL (was: … Klaus Hartke
- Re: [core] Link target attributes in CoRAL (was: … Christian M. Amsüss
- Re: [core] Link target attributes in CoRAL (was: … Klaus Hartke
- Re: [core] Link target attributes in CoRAL (was: … Klaus Hartke
- Re: [core] Link target attributes in CoRAL (was: … Christian Amsüss
- Re: [core] Link target attributes in CoRAL (was: … Jim Schaad
- Re: [core] Link target attributes in CoRAL (was: … Christian M. Amsüss