Re: [core] Change the default path option in the href document

Klaus Hartke <hartke@projectcool.de> Tue, 17 December 2019 16:05 UTC

Return-Path: <hartke@projectcool.de>
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 16C001209E5 for <core@ietfa.amsl.com>; Tue, 17 Dec 2019 08:05:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 NxYN8fkJpLD7 for <core@ietfa.amsl.com>; Tue, 17 Dec 2019 08:05:07 -0800 (PST)
Received: from wp382.webpack.hosteurope.de (wp382.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8597::]) (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 1591F1209E7 for <core@ietf.org>; Tue, 17 Dec 2019 08:05:07 -0800 (PST)
Received: from mail-qk1-f174.google.com ([209.85.222.174]); authenticated by wp382.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1ihFLN-0000kR-0l; Tue, 17 Dec 2019 17:05:05 +0100
Received: by mail-qk1-f174.google.com with SMTP id z14so8659738qkg.9 for <core@ietf.org>; Tue, 17 Dec 2019 08:05:04 -0800 (PST)
X-Gm-Message-State: APjAAAV5QRgdw3a5QbQahIKNce3JeF8wdQm4gVPmAt7I4+fjVs1zgdHB 6+qgXJtW8oKn6fjb982ibjE216G2IEhbuvqfnfY=
X-Google-Smtp-Source: APXvYqwLzaAwJFXbYeyzsvZvWgc5/ueKKcQFLKGGbOA3FQjSZdUezCvz76rt2cWuwPXPVuQFdtedghlQgdnLw34YZ58=
X-Received: by 2002:ae9:ec0a:: with SMTP id h10mr5309495qkg.303.1576598703912; Tue, 17 Dec 2019 08:05:03 -0800 (PST)
MIME-Version: 1.0
References: <049901d5af9f$17bc87b0$47359710$@augustcellars.com>
In-Reply-To: <049901d5af9f$17bc87b0$47359710$@augustcellars.com>
From: Klaus Hartke <hartke@projectcool.de>
Date: Tue, 17 Dec 2019 17:04:28 +0100
X-Gmail-Original-Message-ID: <CAAzbHvYiz36+f6y3AbJusaqxJuTfnJFrQ-XddXtBCqog6-fmHA@mail.gmail.com>
Message-ID: <CAAzbHvYiz36+f6y3AbJusaqxJuTfnJFrQ-XddXtBCqog6-fmHA@mail.gmail.com>
To: Jim Schaad <ietf@augustcellars.com>
Cc: "core@ietf.org WG" <core@ietf.org>
Content-Type: text/plain; charset="UTF-8"
X-bounce-key: webpack.hosteurope.de; hartke@projectcool.de; 1576598707; 8e2e7b99;
X-HE-SMSGID: 1ihFLN-0000kR-0l
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/AdfMSKP_fcoWvobFuKBUxFgxMVI>
Subject: Re: [core] Change the default path option in the href document
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, 17 Dec 2019 16:05:09 -0000

Hi Jim!

> I would like to change the default path option value in the href document.
> It is currently PathOption.Relative and I would like to make it
> PathOption.Append.
> [...]
> When using CIRI, this can be simplified slightly to [ PathType, Append-Path,
> Path, "menu"].  If append-path because the default value for PathType, then
> this becomes [Path, "menu"] which is going to be the shortest possible
> encoding.

I had a similar hunch, but resisted the temptation to just make that
change without further confirmation. But now that we have a small
number of real CoRAL-based applications specified (like
draft-hartke-t2trg-coral-pubsub-00 and the upcoming
draft-tiloca-ace-oscore-gm-admin-01), maybe we could start building
the collection of real-world CoRAL documents and use your
implementation to benchmark changes to the encoding like this?

Klaus