Re: Link relation types for non-GET links

Julian Reschke <julian.reschke@gmx.de> Sat, 15 August 2015 12:21 UTC

Return-Path: <julian.reschke@gmx.de>
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 ED9C81A87BB for <link-relations@ietfa.amsl.com>; Sat, 15 Aug 2015 05:21:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.701
X-Spam-Level:
X-Spam-Status: No, score=-0.701 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 o2ozfmRLi9Om for <link-relations@ietfa.amsl.com>; Sat, 15 Aug 2015 05:21:20 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2ECC91A87BA for <link-relations@ietf.org>; Sat, 15 Aug 2015 05:21:20 -0700 (PDT)
Received: from [192.168.2.177] ([84.187.34.52]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MePYV-1Z9Kqn0j2l-00Q7xT; Sat, 15 Aug 2015 14:21:18 +0200
Subject: Re: Link relation types for non-GET links
To: Klaus Hartke <hartke@tzi.org>
References: <CAAzbHvb==Sn_4UUFHKs3H9GYbEfiX=TUjv4FSmNi9R4NEB+DvQ@mail.gmail.com> <CAPW_8m5CU++j=8tNBK1Q7KszxsfORnK1-6mxcgUwz9X2R2JTyA@mail.gmail.com> <CAAzbHvZGYGNOkuAkc7Fu29maDcbjSf_o54q93Xa+Ggk_fkGHAw@mail.gmail.com> <55CC8C1D.9060900@gmx.de> <CAAzbHva19zw8tzKxSxhMFUSV0RLMFjq94Pb5Z4mc8GseEgrkBw@mail.gmail.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <55CF2EBE.5060203@gmx.de>
Date: Sat, 15 Aug 2015 14:21:18 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
MIME-Version: 1.0
In-Reply-To: <CAAzbHva19zw8tzKxSxhMFUSV0RLMFjq94Pb5Z4mc8GseEgrkBw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:00/8w0CdKDfweoWwFiExydJ6i6nI4TRXkCzrLK6HeCnmKiqT+mg 57WXTCqUUC5RRxZGVwAy5YwdP1OIzGeM3h85qkjrpLxvzdcgOTIduhmJAyILvXT30mNUFqJ uPeH7O6xXgKYJAqy0pkk23b1liC7QmHM0Q+z71gK2X/Di4T5fk8XwpicPyScargPAPtXVfv UGnHd4+IZHgGboPP3pKag==
X-UI-Out-Filterresults: notjunk:1;V01:K0:p0MfmfmdSRs=:Krj3S0jd5CQlQ6QVQ8qVdJ Ib4us1WabS5ThdBfqJqlYbxopH4JXCFmUp7i/f2kLemY8Ci2Fpbf+v/QmzlQbOD/E5iLdN7ss hfy8QjGTPcpPPJSfXV3zXotVarNKfYhsinozBedeSZRGr5kgzqQckmmsecl0c12AF5405hIHR 7c1uhftHufrc3SRZTSZ6SQJftk+DPtGCMq2TJyJ0fo51RzLpBCQfxtPyZIXgu+6MVVKYR5u3X H4QYMYqIeFNgjJdMOzoPhf7FBMr2HzQsx3WH69YCpoozpi+jsSJeKphQkNitMBIGidYe+DHHa /wTAy6QdfzQn1hzErXvAcm7VOWl/2uym7QD/YVFHqur3LMDztaFZV8AWckHMA7xhzX4DJyqUB 0th/ESs3MpSk4KYzlS84ND4iwxZ+WWd440F98qEG4bTpfEEpNKxxQKQtf5xShsy7ZxN4UetqO QVe4t9zP9X/nqkP6EKKZ/NJXq6kBjPwzVbS/6xqzO4qiKDmI0moDxflAACqOK2dZliSabzOOE bVf3FIzeAXjslatNRw/zLjzX3z7VE+i8zeWUDR4I6VCjRHFW44aPyEN6MmtrJlIFpVBVmJYzh IPIAzWzKmoH0oFi8vJi49EoRmFYw/BP12vIrPSeREcD6OrJHJWV2pNVWtvhkAt7BXnz5e9TfR DQNmwpR08gIcIifmGn3n3u399IZxIyAkOusnKV3TAc5co5WLF2I/5eNo9eLWLeOeVM12cabpH nEJqWv+DMN9bwZ02KEaXf0npTD2LXshpccovaA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/link-relations/8MhYA4xZBOIdtUWn7-8-WM4ShxE>
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: Sat, 15 Aug 2015 12:21:22 -0000

On 2015-08-15 14:16, Klaus Hartke wrote:
> Julian Reschke wrote:
>>> How does a spider distinguish between safe links and unsafe non-GET links?
>>
>> A spider is not supposed to use methods other than GET, so how is this a
>> problem?
>
> If the spider does not know the link relation type, it will assume
> that there is a safe link between the two resources even when the link
> relation type defines the link to be unsafe. But maybe that's not a
> big problem.

The link relation by definition can not be "unsafe".

> It's just that HTML defines a number of syntactically different
> hypermedia controls (<a>, <img>, <form>), so a spider can understand
> whether the link is safe or not even if it does not recognize the link
> relation type.

The link is always safe; it's the method applied to the link target 
which might not.

Best regards, Julian