Re: [weirds] feedback on draft-designteam-weirds-using-http

Julian Reschke <julian.reschke@gmx.de> Thu, 17 May 2012 19:34 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: weirds@ietfa.amsl.com
Delivered-To: weirds@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EB7A221F869F for <weirds@ietfa.amsl.com>; Thu, 17 May 2012 12:34:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.572
X-Spam-Level:
X-Spam-Status: No, score=-102.572 tagged_above=-999 required=5 tests=[AWL=0.027, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BvsUxp2gxkJY for <weirds@ietfa.amsl.com>; Thu, 17 May 2012 12:34:48 -0700 (PDT)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by ietfa.amsl.com (Postfix) with SMTP id A519F21F8629 for <weirds@ietf.org>; Thu, 17 May 2012 12:34:47 -0700 (PDT)
Received: (qmail invoked by alias); 17 May 2012 19:34:46 -0000
Received: from p54BB26EE.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.38.238] by mail.gmx.net (mp004) with SMTP; 17 May 2012 21:34:46 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+K7VFvLeGKnSUNvi0taDdIkx9TgzEhYoxjudydh1 srxXoOUk3a4GUq
Message-ID: <4FB552B5.40900@gmx.de>
Date: Thu, 17 May 2012 21:34:13 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Andy Newton <andy@arin.net>
References: <20120517173250.5000.qmail@joyce.lan> <4FB537EB.7010908@gmx.de> <309CE4E2-5A61-40EB-8B0C-A979B3F15D26@arin.net>
In-Reply-To: <309CE4E2-5A61-40EB-8B0C-A979B3F15D26@arin.net>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: John Levine <johnl@iecc.com>, "<weirds@ietf.org>" <weirds@ietf.org>
Subject: Re: [weirds] feedback on draft-designteam-weirds-using-http
X-BeenThere: weirds@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "WHOIS-based Extensible Internet Registration Data Service \(WEIRDS\)" <weirds.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/weirds>, <mailto:weirds-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/weirds>
List-Post: <mailto:weirds@ietf.org>
List-Help: <mailto:weirds-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/weirds>, <mailto:weirds-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 May 2012 19:34:49 -0000

On 2012-05-17 20:57, Andy Newton wrote:
>
> On May 17, 2012, at 1:39 PM, Julian Reschke wrote:
>
>> On 2012-05-17 19:32, John Levine wrote:
>>>> Using URI templates sound promising.
>>>
>>> I sure hope not.  URI templates are a reasonable way to try to put a
>>> consistent layer on top of a bunch of existing inconsistent http
>>> services.  But in this situation, where we're able to spec the URIs
>>> from scratch, they're just an extra level of unneeded complexity and
>>> cruft.
>>>
>>> R's,
>>> John
>>
>> I have no problem with the protocol hardwiring things into URIs, if that can be done. But please stay away from the term "restful" then.
>
> Can you elaborate on this? Are you making a REST purity argument? I'm confused.
> Sorry to be thick headed here.

If you hard-wire the URI format, and there's no discovery whatsoever, 
you don't take advantage of <http://en.wikipedia.org/wiki/HATEOAS>.

Now my experience is that most of the time, discussions about whether 
something is "restful" aren't productive. It's not essential that 
everything is "restful". What's essential is that it works.

That's why I initially said that you should stay away from the term 
unless you really plan to fully embrace it :-).

Best regards, Julian