Re: #290: Motivate one-year limit for Expires

Mark Baker <distobj@acm.org> Sat, 28 April 2012 04:09 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 BFD0C21E800F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Apr 2012 21:09:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level:
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 GOYLp-OZP01u for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Apr 2012 21:09:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3313D11E8076 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 27 Apr 2012 21:09:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SNyxG-0007xy-US for ietf-http-wg-dist@listhub.w3.org; Sat, 28 Apr 2012 04:08:18 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mark@coactus.com>) id 1SNyx7-0007x2-Iw for ietf-http-wg@listhub.w3.org; Sat, 28 Apr 2012 04:08:09 +0000
Received: from mail-iy0-f171.google.com ([209.85.210.171]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mark@coactus.com>) id 1SNyx4-0003qj-8L for ietf-http-wg@w3.org; Sat, 28 Apr 2012 04:08:07 +0000
Received: by iadj38 with SMTP id j38so2218424iad.2 for <ietf-http-wg@w3.org>; Fri, 27 Apr 2012 21:07:40 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=L0A2fVOW+ii/FdCJG3qQ1/qWOnJFxG3BKuIYk2Ez9u8=; b=jro78qvDh9BqzBCxEkiXZbrjzAZOc95IvEICmJa0M4qfSJsNDZwRZu2/h26W7M+0Uf izT9tzvnyJalSPGYEsI1Z3MtgPfdEGx1lZgfPbY5BBM10qUdVbB/gBGWKzCjEE7wG5/M WlDUlKKWGF4QxQEW2i1S1zvCYgk4TShNczuPWqyyy7SSndLtWUOMzWYROzB21Nfv85ov r6SuRBLA+BlY7oMHByx+OF1ScdFjiJa6VNyxA3l3JzUiVRDTGUf7PK9KgGvxCvYUsjYI vBZxOzLtoeYyclrdf5YXk7m0QQ+ziWDDQS3RlRNSF/o4mLIwA6TDMHrtETzQX7C5k8Iz ZNzQ==
MIME-Version: 1.0
Received: by 10.50.47.131 with SMTP id d3mr4672797ign.33.1335586060850; Fri, 27 Apr 2012 21:07:40 -0700 (PDT)
Sender: mark@coactus.com
Received: by 10.42.28.72 with HTTP; Fri, 27 Apr 2012 21:07:40 -0700 (PDT)
In-Reply-To: <E26CB1BD-88FB-4A35-A79C-06BC0737DFDE@mnot.net>
References: <891657B9-2F11-43D6-A9A0-4C6663DAC127@mnot.net> <5635FDB8-10C4-4442-8D2C-B0CC709B55B9@mnot.net> <E26CB1BD-88FB-4A35-A79C-06BC0737DFDE@mnot.net>
Date: Sat, 28 Apr 2012 00:07:40 -0400
X-Google-Sender-Auth: lBPurwbb59_bmo1FohF4bpmZZ9o
Message-ID: <CALcoZir2Vweiu930u4fLpkJAR7qEFjE1Cyb58Qcw-mwqcronqA@mail.gmail.com>
From: Mark Baker <distobj@acm.org>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQmBlOE/PSHbYgPqOQWjWtV+In7dYcAWQsf7xj1g/1a0SnPaTue4CPGGabo5hxOaEU5HeETK
Received-SPF: none client-ip=209.85.210.171; envelope-from=mark@coactus.com; helo=mail-iy0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SNyx4-0003qj-8L 53e63794535dd6658cd8c95e8995995f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #290: Motivate one-year limit for Expires
Archived-At: <http://www.w3.org/mid/CALcoZir2Vweiu930u4fLpkJAR7qEFjE1Cyb58Qcw-mwqcronqA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13492
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>
Resent-Message-Id: <E1SNyxG-0007xy-US@frink.w3.org>
Resent-Date: Sat, 28 Apr 2012 04:08:18 +0000

On Thu, Aug 18, 2011 at 12:18 AM, Mark Nottingham <mnot@mnot.net> wrote:
> Scheduling for -16.
>
>
> On 30/07/2011, at 6:47 AM, Mark Nottingham wrote:
>
>> Remove the requirement in p6 3.3 and replace it with:
>>
>> """
>> Historically, HTTP required the Expires field-value to be no more than a year in the future. While longer freshness lifetimes are no longer prohibited, extremely large values have been demonstrated to cause problems (e.g., clock overflows due to use of 32-bit integers for time values), and most caches will evict a response far sooner than that. Therefore, senders ought not produce them.
>> """

I was reviewing this issue while looking up some information for a
client, and ran across a sentence that I see didn't receive any
consideration in last year's discussion. Preceding the "SHOULD NOT
send Expires dates more than one year in the future" sentence in 2616
14.21 is this;

   To mark a response as "never expires," an origin server sends an
   Expires date approximately one year from the time the response is
   sent.

This says to me that the (approx) one year number has special
semantics beyond those of a limit. It would seem to indicate that, for
example, a two year expiry would expire before a one year expiry.

Is anybody aware of an implementation that treats "one year" as
special in this way, either explicitly or effectively (e.g. if any
expiry >= one year was assumed to mean "never expires").

Mark.