Re: [apps-discuss] Link rel uniqueness

Jan Algermissen <jan.algermissen@nordsc.com> Sun, 21 October 2012 07:49 UTC

Return-Path: <jan.algermissen@nordsc.com>
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 A136421F847F for <apps-discuss@ietfa.amsl.com>; Sun, 21 Oct 2012 00:49:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.845
X-Spam-Level:
X-Spam-Status: No, score=-2.845 tagged_above=-999 required=5 tests=[AWL=-0.596, BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GrTil3+ejekp for <apps-discuss@ietfa.amsl.com>; Sun, 21 Oct 2012 00:49:39 -0700 (PDT)
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by ietfa.amsl.com (Postfix) with ESMTP id C6A8021F843E for <apps-discuss@ietf.org>; Sun, 21 Oct 2012 00:49:38 -0700 (PDT)
Received: from [192.168.2.103] (p548FA5C5.dip.t-dialin.net [84.143.165.197]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0M0RJt-1TBC9C19e1-00uY2E; Sun, 21 Oct 2012 09:49:35 +0200
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset="us-ascii"
From: Jan Algermissen <jan.algermissen@nordsc.com>
In-Reply-To: <E164D9C7-37E3-410F-B1AA-658B8E9DB953@mnot.net>
Date: Sun, 21 Oct 2012 09:49:33 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <C110B151-67B0-4A0A-950F-8FBDF56607F7@nordsc.com>
References: <23E04C5A-2806-4D28-B90C-A547FB0B042E@nordsc.com> <E164D9C7-37E3-410F-B1AA-658B8E9DB953@mnot.net>
To: Mark Nottingham <mnot@mnot.net>
X-Mailer: Apple Mail (2.1283)
X-Provags-ID: V02:K0:70LwcULEyGE7XfkH3itM3C0hn1CL9Hl6CuZMbzCxrzG eJYzWHTN1A7eUx3aVKaMEdmd1vvPisb5aixL6JSkgRMmKe+5kg l7TqBlKxDMGXZBMLaTjF8SgzuGt+5nPQAq1+ydT6lInyyYmQnQ 0hq+PV4loLDCIqR+nCQ2Sd06KPAhGlw/s5+wMhvqXSX+spC0TP BJ+umUIuD3chCnpVV5o86Om+apOdven+b2FnRgJ4QnDrOKg8M+ doqMpv9C5OXkjdDFLutfodc0Rkd5krWdlRgonNMjsDhS3T+tqD A4cWRZH3vlGeB6UCE54GgLpkbw2MuP9XDMpF6L3FDvUELD5OHS fz46TJIIxbloj6UnaCJVEUkmmz0pwARCxILlc9dqnJMPok1LHu 0+XVNxtt/W8Yw==
Cc: IETF Apps Discuss <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] Link rel uniqueness
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sun, 21 Oct 2012 07:49:39 -0000

On Oct 21, 2012, at 5:52 AM, Mark Nottingham wrote:

> Hi Jan,
> 
> What's the specific requirement you're referring to?

Section 5.3.:

"The relation type of a link is conveyed in the "rel" parameter's
   value.  The "rel" parameter MUST NOT appear more than once in a given
   link-value; occurrences after the first MUST be ignored by parsers."

I was unsure what the link-value refers to but from what you write below I understand that it refers to the combination of all header values of the same name.

That would then mean that parsers, when seeing

>> Link: </a>; rel="describedBy"
>> Link: </b>; rel="describedBy"

would, per 5.3., have to produce only

>> Link: </a>; rel="describedBy"

(ignoring the Link to /b)

Correct?


P.S. I find that a bit counter intuitive. Given that further links might occur elsewhere in the entity.

Jan







> 
> Semantically, in ANY HTTP header defined using the "," list production, the following are equivalent:
> 
> Foo: 1
> Foo: 2
> 
> and
> 
> Foo: 1, 2
> 
> Regards,
> 
> 
> On 21/10/2012, at 9:33 AM, Jan Algermissen <jan.algermissen@nordsc.com> wrote:
> 
>> Hi,
>> 
>> I am seeking a clarification ragarding link rel uniqueness in http://tools.ietf.org/html/rfc5988
>> 
>> AFAIU the required uniqueness of rel is 'per header' and thus, the following HTTP response headers in a single response would be valid according to RFC 5988:
>> 
>> 
>> Link: </a>; rel="describedBy"
>> Link: </b>; rel="describedBy"
>> 
>> Correct?
>> 
>> Jan
>> _______________________________________________
>> apps-discuss mailing list
>> apps-discuss@ietf.org
>> https://www.ietf.org/mailman/listinfo/apps-discuss
> 
> --
> Mark Nottingham   http://www.mnot.net/
> 
> 
>