Re: [apps-discuss] Sunset HTTP header field

Erik Wilde <dret@berkeley.edu> Tue, 04 August 2015 02:06 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 0345A1B3324 for <apps-discuss@ietfa.amsl.com>; Mon, 3 Aug 2015 19:06:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level:
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 6_RD6VDOT0K4 for <apps-discuss@ietfa.amsl.com>; Mon, 3 Aug 2015 19:06:13 -0700 (PDT)
Received: from cm03fe.IST.Berkeley.EDU (cm03fe.IST.Berkeley.EDU [169.229.218.144]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7CA151B3327 for <apps-discuss@ietf.org>; Mon, 3 Aug 2015 19:06:11 -0700 (PDT)
Received: from 108-67-65-66.lightspeed.sntcca.sbcglobal.net ([108.67.65.66] helo=[192.168.1.76]) by cm03fe.ist.berkeley.edu with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (auth plain:dret@berkeley.edu) (envelope-from <dret@berkeley.edu>) id 1ZMRcI-0004qZ-Be; Mon, 03 Aug 2015 19:06:11 -0700
Message-ID: <55C01E0F.8080806@berkeley.edu>
Date: Mon, 03 Aug 2015 19:06:07 -0700
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: "apps-discuss@ietf.org application-layer protocols" <apps-discuss@ietf.org>
References: <55C018E1.8080405@berkeley.edu> <CABP7RbdfxC0O3jv5+RNGMfh9VGR+gd=bbNp5fhLc-XyyuHep6Q@mail.gmail.com>
In-Reply-To: <CABP7RbdfxC0O3jv5+RNGMfh9VGR+gd=bbNp5fhLc-XyyuHep6Q@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/apps-discuss/5DdZdfxsvTkVylRm4QfRfV5gALs>
Subject: Re: [apps-discuss] Sunset HTTP header field
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 04 Aug 2015 02:06:15 -0000

hello james.

thanks a lot for your feedback!

On 2015-08-03 18:54 , James M Snell wrote:
> This is certainly interesting, but I'm not quite sure it goes far
> enough. In general, when a particular API is being deprecated, there
> is generally some form of replacement or alternative that developers
> are being pushed towards, and potentially some form of notice that
> should be displayed.

yes, those may be things that people want to advertise in well-known 
ways. i had listed both aspects as open issues:

https://tools.ietf.org/html/draft-wilde-sunset-header-00#section-8

my idea was to add optional qualifiers to the timestamp if people seem 
to want these features, but that's of course just one way of doing it.

> Considering that, a Link header might be an interesting possible approach:
> Link: </deprecation-notice.html>; rel="sunset"; title="This API will
> be sunset on 2015-12-12"; sunset=2015-12-12

i was considering the link relation type design option, but then 
concluded that at its core, the sunset timestamp is mostly a "unary 
link" and thus does not fit the link model very well. but i agree that 
pretty much anything can be modeled as links, and then it would fit into 
the link header as shown in your example.

thanks again and 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 |