Re: Until HTTP header when the representation will disappear in the future

Amos Jeffries <squid3@treenet.co.nz> Wed, 12 June 2013 07:14 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B032921F9C12 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 12 Jun 2013 00:14:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 AEumOPMTGZzu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 12 Jun 2013 00:14:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2CBE121F9BB4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 12 Jun 2013 00:14:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UmfFN-00057e-C8 for ietf-http-wg-dist@listhub.w3.org; Wed, 12 Jun 2013 07:13:33 +0000
Resent-Date: Wed, 12 Jun 2013 07:13:33 +0000
Resent-Message-Id: <E1UmfFN-00057e-C8@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1UmfF4-00056Z-71 for ietf-http-wg@listhub.w3.org; Wed, 12 Jun 2013 07:13:14 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1UmfEz-0004QC-CL for ietf-http-wg@w3.org; Wed, 12 Jun 2013 07:13:14 +0000
Received: from [192.168.2.6] (103-9-43-156.flip.co.nz [103.9.43.156]) by treenet.co.nz (Postfix) with ESMTP id 67A57E71D1 for <ietf-http-wg@w3.org>; Wed, 12 Jun 2013 19:12:44 +1200 (NZST)
Message-ID: <51B81F68.4090500@treenet.co.nz>
Date: Wed, 12 Jun 2013 19:12:40 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <DEB16694-3DE0-41D8-9512-5C722DE4D246@la-grange.net>
In-Reply-To: <DEB16694-3DE0-41D8-9512-5C722DE4D246@la-grange.net>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-2.499, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UmfEz-0004QC-CL ed66666f0631a5a180bfc6d2ef245855
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Until HTTP header when the representation will disappear in the future
Archived-At: <http://www.w3.org/mid/51B81F68.4090500@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18217
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 12/06/2013 5:45 p.m., Karl Dubost wrote:
> Hi,
>
> I was wondering if people had already imagined a mechanism to warn about the decay, or the non persistence of a URI. No bikeshed yet about the name let's call it "zardoz" instead of "Valid-until".
>
> Let's say a document will be obsolete for legal reasons, contests, sunsetting Web sites or APIs, etc. after midnight on June 24 and I want to say to user agent that it will be 410 Gone after this date and/or a temporary redirect will be finished at a precise date (maintenance for example).
>
>
> → http HEAD http://example.org/
>
> HTTP/1.1 200 OK
> Accept-Ranges: bytes
> Cache-Control: max-age=600
> Content-Length: 34322
> Content-Type: text/html; charset=utf-8
> Date: Wed, 12 Jun 2013 05:36:14 GMT
> Last-Modified: Tue, 11 Jun 2013 21:57:50 GMT
> Zardoz: Wed, 24 Jun 2013 23:59:59 GMT
>
>
> Is there already a way to do this that I would have missed.
> The semantics of Expire is not exactly the same.

A combination of Expires (and/or max-age=N) and 
Cache-Control:must-revalidate serve this purpose.

eg, whatever content was delivered becomes stale at timestamp Z and the 
origin MUST be consulted befoe any further use of it past that time.

Amos