W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2013

Until HTTP header when the representation will disappear in the future

From: Karl Dubost <karl@la-grange.net>
Date: Wed, 12 Jun 2013 14:45:15 +0900
Message-Id: <DEB16694-3DE0-41D8-9512-5C722DE4D246@la-grange.net>
To: IETF HTTP Working Group <ietf-http-wg@w3.org>

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.

Karl Dubost
Received on Wednesday, 12 June 2013 05:45:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:13 UTC