Re: [httpapi] New Version Notification for draft-nottingham-link-template-03.txt

Dan Foygel <foygel@gmail.com> Thu, 02 September 2021 02:57 UTC

Return-Path: <foygel@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 D1C203A2463 for <httpapi@ietfa.amsl.com>; Wed, 1 Sep 2021 19:57:18 -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 EuVWX4qHdvSC for <httpapi@ietfa.amsl.com>; Wed, 1 Sep 2021 19:57:12 -0700 (PDT)
Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (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 88F673A2462 for <httpapi@ietf.org>; Wed, 1 Sep 2021 19:57:12 -0700 (PDT)
Received: by mail-wr1-x42e.google.com with SMTP id z4so433378wrr.6 for <httpapi@ietf.org>; Wed, 01 Sep 2021 19:57:12 -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; bh=pZtci9Lu3Rb5MSS6Zw26GvfNlPwjteQeq9C2891xmZE=; b=oeWT3vbZcuxvKEJmGPVMLgNopGLl681PR2P6d6NaJayuedNacFOwaqLpQME6cOrZTz alsPR0cwTbBm25VG4QqQqqmZJECn6oGZ8Q5ZNesSazFfL0vyLT7Y3Al6weRP9eMWn2uW kjhPYJUMjZfelVFr5N7hCwR/uxp8RFErIfNY4rIN9R51Bety8okSSKLJbV2XR4nVmXdf WROfm6HJOa0JxhfXFBc1VVVdzYRNYvBxgg0vCpL3BPRPtJA4pOZU9Ar3S3rSnDlx4XFC /J0EU4nM/TovhXzP2UaVkivHX+qmAsXe54Rf2Nlmkn1H3rcMEdHUcrXiexskk1XOi/tL 6pbg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=pZtci9Lu3Rb5MSS6Zw26GvfNlPwjteQeq9C2891xmZE=; b=R0N5S33Qyu1vEBfupXbUJMJ8AYltcuS4XOesMood4LzEkvHueoJ+QRiTnKu8w925/R aNKk8r8KLeA1E/WAYzc8onSF5AhndpjqIZcKXSm3G7vCy4DEyL9SEWRcSsLmxboz3pBR /Uoc3xValfHoispFusLvfB899GNFdNoMFgXiUi/8PChzuDoC/KBPDXf4hpiA3reykafn IzD19ILim9fQfTfms+/lCYYTQO2OW1ZAeAAsX9aa+7khlPsWoK9IdU6sAzF4Gtk4hNgA Jaybihh4KkK91kePuqGaHL6giwUZ3P5ilOfeA/BtY9BEZgBF6K9Wt/+kW2kaMB8WQd9S Swlw==
X-Gm-Message-State: AOAM532Kcuw+3yN5y0qd1AoqDIPm7amtDk9WH3VNQNO4anSxRr2Se+EP Mb9glR+6YO4ddq7zgSqMiogjUQ0Bij0O2oxJDkvWDRa0qTcJEw==
X-Google-Smtp-Source: ABdhPJyne8ZI+qtQk54RhL8NSDAFFGX0AxiRmVpgDSc69q/psSt0qIz9yyqNaauSxhsaK5QjQBW1wDCq/mpy2ucCX9U=
X-Received: by 2002:a05:6000:1627:: with SMTP id v7mr950789wrb.54.1630551425528; Wed, 01 Sep 2021 19:57:05 -0700 (PDT)
MIME-Version: 1.0
References: <163047452150.9745.15606863469504346040@ietfa.amsl.com> <63DA4A31-930D-444D-9A4D-A639DB4D22E6@mnot.net> <5d5ed837-1a47-4363-8f8a-ed065f9f2edb@www.fastmail.com> <1BBEEEB1-5246-4D89-B7BB-327E7263C8B8@mnot.net>
In-Reply-To: <1BBEEEB1-5246-4D89-B7BB-327E7263C8B8@mnot.net>
From: Dan Foygel <foygel@gmail.com>
Date: Wed, 01 Sep 2021 19:56:53 -0700
Message-ID: <CA+MUeJMxBEE3hvvptKnfzkNuZVvupjhcQ7sGSAkxwD8iATMyFA@mail.gmail.com>
To: httpapi@ietf.org
Content-Type: multipart/alternative; boundary="00000000000081b8d105cafa5651"
Archived-At: <https://mailarchive.ietf.org/arch/msg/httpapi/MFx7NF7BZBXXX4zvsgYZPohRbTo>
Subject: Re: [httpapi] New Version Notification for draft-nottingham-link-template-03.txt
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: Thu, 02 Sep 2021 04:14:41 -0000

We are also currently using Link headers with a templated="true" property,
but running into a specific problem when the URI Template contains a "*"
character (which isn't permitted in URIs, and therefore not permitted in a
Link header).

A simple approach that supports the equivalent of the Link header for URI
Templates would be ideal for what we're building - so I'm very supportive
of Mark's draft, and would encourage adoption.

To echo what others mentioned about "var-base", I also found it a bit
confusing, and I'm not sure if it's truly needed.

Thanks,

-Dan

On Wed, Sep 1, 2021 at 5:57 PM Mark Nottingham <mnot@mnot.net> wrote:

> Hi Max,
>
> I think that how variables are defined / operate is going to be one of the
> things we'll need to discuss. var-base is just an initial (and incomplete)
> stab at that.
>
> Cheers,
>
>
> > On 2 Sep 2021, at 10:49 am, Max Maton <info@maxmaton.nl> wrote:
> >
> > Hi Mark,
> >
> > It seems an interesting proposal, currently we use the Link header with
> an `templated="true"` property. I have a two questions:
> >
> >  - Am I correct in assuming that the variables are defined by the media
> type documentation for the returned Content-Type?
> >  - If so, wouldn't it make sense to leave the var-base out of the
> specification, given that people defining media types are free to add
> parameters and are free to define rules about how to resolve the variables?
> >
> > Best regards,
> >
> > Max Maton
> >
> >
> >
> > On Wed, Sep 1, 2021, at 07:36, Mark Nottingham wrote:
> >> Hi all,
> >>
> >> I've had this spec on the back burner for a *long* time, because I
> wanted to make sure it was actually useful to someone before progressing it.
> >>
> >> I've heard from a few people that it would be useful for them in the
> real world, so I'd like the WG to consider adoption.
> >>
> >> Any thoughts?
> >>
> >> Cheers,
> >>
> >>
> >>> Begin forwarded message:
> >>>
> >>> From: internet-drafts@ietf.org
> >>> Subject: New Version Notification for
> draft-nottingham-link-template-03.txt
> >>> Date: 1 September 2021 at 3:35:21 pm AEST
> >>> To: "Mark Nottingham" <mnot@mnot.net>
> >>>
> >>>
> >>> A new version of I-D, draft-nottingham-link-template-03.txt
> >>> has been successfully submitted by Mark Nottingham and posted to the
> >>> IETF repository.
> >>>
> >>> Name:  draft-nottingham-link-template
> >>> Revision: 03
> >>> Title:  The Link-Template HTTP Header Field
> >>> Document date: 2021-09-01
> >>> Group:  Individual Submission
> >>> Pages:  5
> >>> URL:
> https://www.ietf.org/archive/id/draft-nottingham-link-template-03.txt
> >>> Status:
> https://datatracker.ietf.org/doc/draft-nottingham-link-template/
> >>> Html:
> https://www.ietf.org/archive/id/draft-nottingham-link-template-03.html
> >>> Htmlized:
> https://datatracker.ietf.org/doc/html/draft-nottingham-link-template
> >>> Diff:
> https://www.ietf.org/rfcdiff?url2=draft-nottingham-link-template-03
> >>>
> >>> Abstract:
> >>>   This specification defines the Link-Template HTTP header field,
> >>>   providing a means for describing the structure of a link between two
> >>>   resources, so that new links can be generated.
> >>>
> >>>
> >>>
> >>>
> >>> The IETF Secretariat
> >>>
> >>
> >> --
> >> Mark Nottingham   https://www.mnot.net/
> >> --
> >> httpapi mailing list
> >> httpapi@ietf.org
> >> https://www.ietf.org/mailman/listinfo/httpapi
>
> --
> Mark Nottingham   https://www.mnot.net/
>
> --
> httpapi mailing list
> httpapi@ietf.org
> https://www.ietf.org/mailman/listinfo/httpapi
>

>