Re: [apps-discuss] URI templates in Link header fields

Graham Klyne <gk@ninebynine.org> Tue, 30 August 2016 12:33 UTC

Return-Path: <gk@ninebynine.org>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A3A3D12D507 for <apps-discuss@ietfa.amsl.com>; Tue, 30 Aug 2016 05:33:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level:
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] 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 n2T03evPqSUC for <apps-discuss@ietfa.amsl.com>; Tue, 30 Aug 2016 05:33:53 -0700 (PDT)
Received: from relay15.mail.ox.ac.uk (relay15.mail.ox.ac.uk [163.1.2.163]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EE78D12D501 for <apps-discuss@ietf.org>; Tue, 30 Aug 2016 05:33:52 -0700 (PDT)
Received: from smtp4.mail.ox.ac.uk ([129.67.1.207]) by relay15.mail.ox.ac.uk with esmtp (Exim 4.80) (envelope-from <gk@ninebynine.org>) id 1beiEh-0005Cw-nJ; Tue, 30 Aug 2016 13:33:51 +0100
Received: from gklyne38.plus.com ([81.174.129.24] helo=sasharissa.local) by smtp4.mail.ox.ac.uk with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <gk@ninebynine.org>) id 1beiEh-0003Ly-DV; Tue, 30 Aug 2016 13:33:51 +0100
Message-ID: <57C57D2D.30302@ninebynine.org>
Date: Tue, 30 Aug 2016 13:33:49 +0100
From: Graham Klyne <gk@ninebynine.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>, IETF Apps Discuss <apps-discuss@ietf.org>
References: <410cba92-83fa-8e4c-73ff-ac97ea5f8d32@gmx.de>
In-Reply-To: <410cba92-83fa-8e4c-73ff-ac97ea5f8d32@gmx.de>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Oxford-Username: zool0635
Archived-At: <https://mailarchive.ietf.org/arch/msg/apps-discuss/9-AWtt9K_ssJJtcKw-W2f9gMBUw>
Subject: Re: [apps-discuss] URI templates in Link header fields
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/apps-discuss/>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Aug 2016 12:33:54 -0000

Hi!

I've wanted something like this in the past, and I *thought* I had some code 
that accepted a template in a custom header field.  But on closer examination, I 
see that I passed a template in the body of a POST submission.

It's something I could see myself using if specified.

And +1 to Erik Wilde's comment: "it would be great to consolidate all of this so 
that tooling and implementations can rely on a robust spec".

#g
--


On 29/08/2016 09:42, Julian Reschke wrote:
> Hi there.
>
> RFC 5988, defining the HTTP Link header field, predates RFC 6570, defining URI
> templates.
>
> In the meantime, I heard of a few cases where people were trying to use
> templates in Link header fields (an obvious thing to do), and came up with hacks
> to do so with the existing Link header field.
>
> I'm tempted to work on a small spec that defines an experimental new header
> field, similar to Link but allowing templates.
>
> Is anybody aware of existing code trying to use templates in Link header fields?
> If so, please report over here (or in doubt send private email).
>
> Best regards, Julian
>
> _______________________________________________
> apps-discuss mailing list
> apps-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/apps-discuss
>