Re: [art] Artart last call review of draft-ietf-core-links-json-07

Erik Wilde <erik.wilde@dret.net> Mon, 24 April 2017 10:06 UTC

Return-Path: <erik.wilde@dret.net>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B899B12EC13; Mon, 24 Apr 2017 03:06:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.791
X-Spam-Level:
X-Spam-Status: No, score=-1.791 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=dret.net
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 Dho2VUhYH-8b; Mon, 24 Apr 2017 03:06:07 -0700 (PDT)
Received: from postoffice.gristmillmedia.com (postoffice.gristmillmedia.com [96.30.18.196]) (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 2863612EBCF; Mon, 24 Apr 2017 02:59:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dret.net; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:Cc:References:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mGRZQ2Pk6IP6/9wtfPWMjnHXt+PJWC1dFb1mTGStjFk=; b=Ra+sR9NwwL+hjijG0dKrBk683O tNqK1vd/2imcrl0ojS7kbmSqjNjVMK1k3RIdDvFw7o76V1/MMAqLII9SrUP5UxLV9Ny5R9NhYzN+q Gi2+3nXRbPhARqNkVCBB9Rb80bri1CrGm2xVzN6VWFo4MMvjv1syfckrldjPPZt1VQd0r0M4Tfmci caQ7AKpBkS+SrKg+Mn1fEni2WFdtCMA9raNB+shgtzMLdJ77L4lrj6saBjG+TlY8gVO6qICW4HISv pWOoPFK8OImqdF6Mm6RjSK8n6cV1iG35XrKtZDqpAmJmP8gNIZ9d1BXNmQA737Vf/uykUJP7UJOJt 08k3+wRg==;
Received: from 201.116.77.83.dynamic.wline.res.cust.swisscom.ch ([83.77.116.201]:55969 helo=dretbook.home) by postoffice.gristmillmedia.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from <erik.wilde@dret.net>) id 1d2amA-0000GX-9t; Mon, 24 Apr 2017 05:59:22 -0400
Subject: Re: [art] Artart last call review of draft-ietf-core-links-json-07
To: Herbert Van de Sompel <hvdsomp@gmail.com>, Carsten Bormann <cabo@tzi.org>
References: <149188258769.15738.17473942496982365590@ietfa.amsl.com> <A12A8CB3-F756-4790-806A-A67AA8CE1D78@tzi.org> <CAOywMHdqitw-uN09p11j2xkBK6TO8y3wjAWipK7vhqbTWp0T1w@mail.gmail.com>
Cc: ietf@ietf.org, art@ietf.org, draft-ietf-core-links-json.all@ietf.org, Mark Nottingham <mnot@mnot.net>, "core@ietf.org WG" <core@ietf.org>
From: Erik Wilde <erik.wilde@dret.net>
Message-ID: <a2350664-05a7-8909-4cf4-5b765e09f9e7@dret.net>
Date: Mon, 24 Apr 2017 10:49:03 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAOywMHdqitw-uN09p11j2xkBK6TO8y3wjAWipK7vhqbTWp0T1w@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - postoffice.gristmillmedia.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - dret.net
X-Get-Message-Sender-Via: postoffice.gristmillmedia.com: authenticated_id: birdhouse@dret.net
X-Authenticated-Sender: postoffice.gristmillmedia.com: birdhouse@dret.net
X-Source:
X-Source-Args:
X-Source-Dir:
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/_FiKipNSYqbVaUqj7ByBRQ319dI>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Apr 2017 10:06:09 -0000

hello.

just adding my voice here and since i am collaborating with herbert on 
this, my position is relatively clear.

On 2017-04-18 14:47, Herbert Van de Sompel wrote:
> 2. Regarding Mark's comment "This means that any constraints upon
> RFC6690 documents are also
> mirrored into these formats": Mark mentions IRIs as a concern. I am also
> concerned about the rules for interpretation of (the Context IRI of)
> links as described in Section 2.1 of 6690
> (https://tools.ietf.org/html/rfc6690#section-2.1). It seems to me that
> these also introduce constraints that go beyond 5988. I may be mistaken
> with that regard because I have never fully understood that section of
> 6690 (i.e. the use of "base URI", "origin", "Context URI"). But, when
> compared to 5988, the section comes across as imposing constraints that
> are intended to allow the straightforward use of relative URIs in
> constrained environments as a means to decrease the payload. If my
> interpretation is correct, then I would very much favor spec-ing the
> json link format in terms of 5988 rather than 6690.

very much agreed, it would be great to have a generic way of serializing 
links as standalone resources (ideally in a way that is able to preserve 
their context, so that relative URIs are well-defined). my concern is 
that RFC 6690 was not intended to do this (it adds constraints to RFC 
5988), and thus draft-ietf-core-links-json has the same limitations.

to be fair, the draft does not intend to define a general-purpose web 
link serialization, it is simply intended as a serialization of the 
specialized model defined in RFC 6690.

i am not sure what the best way forward is. the representations defined 
in this draft are tantalizingly close to general-purpose serializations 
of RFC 5988. but the draft is clearly intended to be (one more) building 
block in the "CoRE-only" universe. two suggestions:

- add language that makes it clear that because of the limitations of 
RFC 6690, the media types in this draft should not be considered as 
general-purpose serializations of web links.

- consider adding a serialization of web links to RFC 5988bis. this 
would address the problem of how to serialize web links outside of the 
HTTP link header field.

cheers,

dret.

-- 
erik wilde | mailto:erik.wilde@dret.net |
            | http://dret.net/netdret    |
            | http://twitter.com/dret    |