Re: Link relation types for non-GET links

Klaus Hartke <hartke@tzi.org> Thu, 13 August 2015 12:03 UTC

Return-Path: <hartke@tzi.org>
X-Original-To: link-relations@ietfa.amsl.com
Delivered-To: link-relations@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F3E551A1A79 for <link-relations@ietfa.amsl.com>; Thu, 13 Aug 2015 05:03:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.472
X-Spam-Level:
X-Spam-Status: No, score=0.472 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, FM_FORGED_GMAIL=0.622, HELO_EQ_DE=0.35] autolearn=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 T0JOZmhupqJ9 for <link-relations@ietfa.amsl.com>; Thu, 13 Aug 2015 05:03:53 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 48B961A1A5F for <link-relations@ietf.org>; Thu, 13 Aug 2015 05:03:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [134.102.201.11]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t7DC3n0Q008775 for <link-relations@ietf.org>; Thu, 13 Aug 2015 14:03:49 +0200 (CEST)
Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3msRPx4g1qz4vDp for <link-relations@ietf.org>; Thu, 13 Aug 2015 14:03:49 +0200 (CEST)
Received: by wicne3 with SMTP id ne3so256305055wic.1 for <link-relations@ietf.org>; Thu, 13 Aug 2015 05:03:49 -0700 (PDT)
X-Received: by 10.194.184.82 with SMTP id es18mr83047125wjc.79.1439467429282; Thu, 13 Aug 2015 05:03:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.21.201 with HTTP; Thu, 13 Aug 2015 05:03:09 -0700 (PDT)
In-Reply-To: <CAPW_8m5CU++j=8tNBK1Q7KszxsfORnK1-6mxcgUwz9X2R2JTyA@mail.gmail.com>
References: <CAAzbHvb==Sn_4UUFHKs3H9GYbEfiX=TUjv4FSmNi9R4NEB+DvQ@mail.gmail.com> <CAPW_8m5CU++j=8tNBK1Q7KszxsfORnK1-6mxcgUwz9X2R2JTyA@mail.gmail.com>
From: Klaus Hartke <hartke@tzi.org>
Date: Thu, 13 Aug 2015 14:03:09 +0200
Message-ID: <CAAzbHvZGYGNOkuAkc7Fu29maDcbjSf_o54q93Xa+Ggk_fkGHAw@mail.gmail.com>
Subject: Re: Link relation types for non-GET links
To: mike amundsen <mamund@yahoo.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/link-relations/6cHu_lS1yVkUAxCpX-8aBy-DDVo>
Cc: link-relations <link-relations@ietf.org>
X-BeenThere: link-relations@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <link-relations.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/link-relations>, <mailto:link-relations-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/link-relations/>
List-Post: <mailto:link-relations@ietf.org>
List-Help: <mailto:link-relations-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/link-relations>, <mailto:link-relations-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2015 12:03:55 -0000

Mike Amundsen wrote:
> the IANA reg'd values "edit" and "edit-media" support unsafe (non-GET)
> actions and are documented in RFC5023[1].

So, is that the preferred way of doing things? Would it make sense to
register a bunch of generic non-GET link relation types, like
"create", "execute", "update", "delete"?

It seems the syntax for links in RFC5988 and HAL needs to be extended
for non-GET links to include a description of the representation that
the service accepts when following the link (e.g., accepted media type
and/or a set of form fields).

How does a spider distinguish between safe links and unsafe non-GET links?

Klaus