Re: [Technical Errata Reported] RFC7234 (5564)

Mark Nottingham <mnot@mnot.net> Tue, 27 November 2018 22:53 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 98140130E01 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 27 Nov 2018 14:53:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3
X-Spam-Level:
X-Spam-Status: No, score=-3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=g202lT4x; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=XYYytJ5D
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 NVydUYpt8LJs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 27 Nov 2018 14:53:46 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 892EE130E3E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 27 Nov 2018 14:53:46 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1gRmCO-000577-Vv for ietf-http-wg-dist@listhub.w3.org; Tue, 27 Nov 2018 22:51:21 +0000
Resent-Date: Tue, 27 Nov 2018 22:51:20 +0000
Resent-Message-Id: <E1gRmCO-000577-Vv@frink.w3.org>
Received: from titan.w3.org ([2603:400a:ffff:804:801e:34:0:4c]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <mnot@mnot.net>) id 1gRmCM-00056L-37 for ietf-http-wg@listhub.w3.org; Tue, 27 Nov 2018 22:51:18 +0000
Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <mnot@mnot.net>) id 1gRmCJ-0001z5-Tu for ietf-http-wg@w3.org; Tue, 27 Nov 2018 22:51:17 +0000
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 19D7622269; Tue, 27 Nov 2018 17:50:55 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 27 Nov 2018 17:50:55 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm1; bh=J usuzI13M9yWpCzeV7np7KjMLh8LMJ5qM9NyfzXOE+I=; b=g202lT4xF2eC/iCAG z/JWLNyT8CilxTF/TAjKZ0/uz3YiRoO30FUaU0NUQtSEj5tc6I7zlzfLIPo6wQJW rvlaT0dbNJ0Slt1aMXsP3DhSR8Zbu8leUXFt6EAn08RTFV2IsIqOpfFyvxZsn5cD It9eoNAbe10bEFxjUs6NMiifmycddk9+FOI5aCJwYTHCnTknPAAn9LueTsbVMCDd zfW8QDLEIFaufpt52oeXrQi0lrh78/KHDKMPfL+SOD3IOlSAFxfh12TdqCopilvP zzqIr3jjGDT6pETWUuRkwyVQRmhDpXuQRhX+4DB/iBiOX27DxYeXtoDXBIMm4K4P bOG+g==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=JusuzI13M9yWpCzeV7np7KjMLh8LMJ5qM9NyfzXOE +I=; b=XYYytJ5DPpNboqSoVylrUjpE08fpiyH2PxSWkeDFyd7G1OGxZczAP8gfB Eo5X3fwVGfLF0gucNutvqiSaWZdBHHufJ25Sl+7DLdG94XtVQf5WaY3GIoxmomdK olTlk+y6r+71naB8iu0h0P92vKL+HusSsUqN5XzLFXMqSp8JLvigyQqm73A5mgoN 6mqj/6daEnW8YQk/qTKa55ttBYRh5uqFnmMQwdLSPfEC8/fU3tTZN/JOx4ynVzHO tt2roL4WlOD+IhRQB7oP919q5JXDJKrqG8r5e9t3Jnu3zCMx+fohfBAW4umuiwUA +y8Yh7JZtjdE4wxI2KiK0UDfc3d1Q==
X-ME-Sender: <xms:TMr9W0ziLMwhkRkfMBL_iitSCrzF-mMSeYQQIXXTbre2A9Kfsv1c6g>
X-ME-Proxy: <xmx:TMr9W10Piv63Vx31D3lSrY5Nk-pUq2lfsDQHX8eZm-T2cxfHY48ZTw> <xmx:TMr9Wy__flUVJwaIYAUu0CKKpV3T5rqwetR98EMpp0sEiW0h1bI5SA> <xmx:TMr9W-NzvSSpqF1fsZOfuSiwUblBzKFH4WFro1vQK1j-iJhP5RqZTA> <xmx:TMr9W-dzrQ8EvTNIRRR7X0ew9QqG4C2TYg7C5KguYJnJrzRXK92TtA> <xmx:TMr9W1WgBePuVy77l7cFsYTEu5fd0ikXYsEtw-a4nc9pw_MrwRm7mg> <xmx:T8r9W4etxmP5V3ltrgo0CoEx1oezrO4MLz2X2TXv2gK1322mi0dtEg>
Received: from attitudadjuster.mnot.net (unknown [144.136.175.28]) by mail.messagingengine.com (Postfix) with ESMTPA id 027A010310; Tue, 27 Nov 2018 17:50:48 -0500 (EST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <20181127113743.1074FB80E09@rfc-editor.org>
Date: Wed, 28 Nov 2018 09:50:31 +1100
Cc: Roy Fielding <fielding@gbiv.com>, "Julian F. Reschke" <julian.reschke@greenbytes.de>, ben@nostrum.com, Alexey Melnikov <aamelnikov@fastmail.fm>, Adam Roach <adam@nostrum.com>, Patrick McManus <patrick.ducksong@gmail.com>, tpauly@apple.com, tortoise_74@yahoo.co.uk, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <D2FB3970-54B8-452D-9031-0F592370DB90@mnot.net>
References: <20181127113743.1074FB80E09@rfc-editor.org>
To: RFC Errata System <rfc-editor@rfc-editor.org>
X-Mailer: Apple Mail (2.3445.100.39)
X-W3C-Hub-Spam-Status: No, score=-6.5
X-W3C-Hub-Spam-Report: AWL=3.343, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1gRmCJ-0001z5-Tu b6234f6d2dd85f8ad956217b865cef79
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Technical Errata Reported] RFC7234 (5564)
Archived-At: <https://www.w3.org/mid/D2FB3970-54B8-452D-9031-0F592370DB90@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36102
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

REJECT. Extensions are explicitly allowed to override requirements, and making this a SHOULD would be too confusing (as many would read it as "optional").



> On 27 Nov 2018, at 10:37 pm, RFC Errata System <rfc-editor@rfc-editor.org> wrote:
> 
> The following errata report has been submitted for RFC7234,
> "Hypertext Transfer Protocol (HTTP/1.1): Caching".
> 
> --------------------------------------
> You may review the report below and at:
> http://www.rfc-editor.org/errata/eid5564
> 
> --------------------------------------
> Type: Technical
> Reported by: Bruce Adams <tortoise_74@yahoo.co.uk>
> 
> Section: 4.2.4
> 
> Original Text
> -------------
> A cache MUST NOT send stale responses unless it is disconnected
>   (i.e., it cannot contact the origin server or otherwise find a
>   forward path) or doing so is explicitly allowed (e.g., by the
>   max-stale request directive; see Section 5.2.1).
> 
> Corrected Text
> --------------
> A cache SHOULD NOT send stale responses unless it is disconnected
>   (i.e., it cannot contact the origin server or otherwise find a
>   forward path) or doing so is explicitly allowed (e.g., by the
>   max-stale request directive; see Section 5.2.1).
> 
> A cache MAY send stale responses if a cache-control extension for
> stale content such as "stale-while-revalidate" is used 
> (see RFC5861).
> 
> Notes
> -----
> The original text seems to conflict with https://tools.ietf.org/html/rfc5861#section-3
> 
> 3.  The stale-while-revalidate Cache-Control Extension
> 
>   When present in an HTTP response, the stale-while-revalidate Cache-
>   Control extension indicates that caches MAY serve the response in
>   which it appears after it becomes stale, up to the indicated number
>   of seconds.
> 
>     stale-while-revalidate = "stale-while-revalidate" "=" delta-seconds
> 
>   If a cached response is served stale due to the presence of this
>   extension, the cache SHOULD attempt to revalidate it while still
>   serving stale responses (i.e., without blocking).
> 
> See also https://stackoverflow.com/questions/53324538/rest-low-latency-how-should-i-reply-to-a-get-while-an-upload-is-pending
> 
> Instructions:
> -------------
> This erratum is currently posted as "Reported". If necessary, please
> use "Reply All" to discuss whether it should be verified or
> rejected. When a decision is reached, the verifying party  
> can log in to change the status and edit the report, if necessary. 
> 
> --------------------------------------
> RFC7234 (draft-ietf-httpbis-p6-cache-26)
> --------------------------------------
> Title               : Hypertext Transfer Protocol (HTTP/1.1): Caching
> Publication Date    : June 2014
> Author(s)           : R. Fielding, Ed., M. Nottingham, Ed., J. Reschke, Ed.
> Category            : PROPOSED STANDARD
> Source              : Hypertext Transfer Protocol Bis APP
> Area                : Applications
> Stream              : IETF
> Verifying Party     : IESG

--
Mark Nottingham   https://www.mnot.net/