Re: [apps-discuss] HTTP header field for "URI lifetime"

Erik Wilde <dret@berkeley.edu> Wed, 20 May 2015 09:50 UTC

Return-Path: <dret@berkeley.edu>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 605AB1B35BE for <apps-discuss@ietfa.amsl.com>; Wed, 20 May 2015 02:50:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.811
X-Spam-Level:
X-Spam-Status: No, score=-2.811 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 3Drc0JmFKm04 for <apps-discuss@ietfa.amsl.com>; Wed, 20 May 2015 02:50:28 -0700 (PDT)
Received: from cm05fe.IST.Berkeley.EDU (cm05fe.IST.Berkeley.EDU [169.229.218.146]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 32E591B35BB for <apps-discuss@ietf.org>; Wed, 20 May 2015 02:50:27 -0700 (PDT)
Received: from host52-48-static.45-88-b.business.telecomitalia.it ([88.45.48.52] helo=dretair11.local) by cm05fe.ist.berkeley.edu with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (auth plain:dret@berkeley.edu) (envelope-from <dret@berkeley.edu>) id 1Yv0ds-0006Y7-Ig; Wed, 20 May 2015 02:50:27 -0700
Message-ID: <555C58DC.7010309@berkeley.edu>
Date: Wed, 20 May 2015 11:50:20 +0200
From: Erik Wilde <dret@berkeley.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Graham Klyne <gk@ninebynine.org>, IETF Apps Discuss <apps-discuss@ietf.org>
References: <555C284E.1030208@berkeley.edu> <555C5451.5060804@ninebynine.org>
In-Reply-To: <555C5451.5060804@ninebynine.org>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/apps-discuss/76q4rep4r9QEPGQdACh-vPMMOsA>
Subject: Re: [apps-discuss] HTTP header field for "URI lifetime"
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.15
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: Wed, 20 May 2015 09:50:30 -0000

hello graham.

On 2015-05-20 11:30, Graham Klyne wrote:
> Following the subsequent couple of messages, this seems like the goals
> might be somewhat experimental.  For such purposes, I think the desired
> effect *could* be achieved using a Link: header with a URI link
> relation; e.g., something like:
>      Link: <http://example.org/RetentionInformation>;
>            rel=http://linktype.example.org/retentionPolicy/
> (If you don't want to store the retention information separately, maybe
> a data: URI?)
> I see an advantage of such an approach is that you could experiment with
> different kinds of retention information by changing the link relation
> URI, and the approach might play nicely with a wider linked data
> infrastructure. Just a thought.

interesting idea. however, this shifts the problem from the header field 
to a well-known link relation *and* and well-known representation to 
even get the date. the reason why we were discussing a header field was 
also that it would be very clear to find in the uniform interface and 
very easy to process, and by default, no link would need to be 
dereferenced to get to the most important piece of information. so the 
potential header field might look something like this:

Sunset: "Mon, 06 Jul 2015 09:00:00 GMT", reason = "We're shutting down 
for good", reasonURI = http://example.com/goodbye.html

and both the human-readable label and the link to the sunset information 
resource would be optional. this seems to be a bit more explicit than 
what you're suggesting, but i do agree that in the end, both approaches 
are representing (almost) the same information.

cheers,

dret.

-- 
erik wilde | mailto:dret@berkeley.edu  -  tel:+1-510-2061079 |
            | UC Berkeley  -  School of Information (ISchool) |
            | http://dret.net/netdret http://twitter.com/dret |