Re: New precondition fields and caching

Martin Thomson <mt@lowentropy.net> Mon, 07 September 2020 23:13 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 BBD0F3A0D61 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 7 Sep 2020 16:13:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.749
X-Spam-Level:
X-Spam-Status: No, score=-2.749 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.249, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lowentropy.net header.b=Q8TbvE7E; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=vVMgFzTS
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 XHgj1i31UW55 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 7 Sep 2020 16:13:30 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (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 4D57B3A0D55 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 7 Sep 2020 16:13:29 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1kFQHn-0002Qj-Tc for ietf-http-wg-dist@listhub.w3.org; Mon, 07 Sep 2020 23:10:56 +0000
Resent-Date: Mon, 07 Sep 2020 23:10:55 +0000
Resent-Message-Id: <E1kFQHn-0002Qj-Tc@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mt@lowentropy.net>) id 1kFQHm-0002Px-9c for ietf-http-wg@listhub.w3.org; Mon, 07 Sep 2020 23:10:54 +0000
Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mt@lowentropy.net>) id 1kFQHk-0004Mm-6O for ietf-http-wg@w3.org; Mon, 07 Sep 2020 23:10:54 +0000
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 4BC9DC8B for <ietf-http-wg@w3.org>; Mon, 7 Sep 2020 19:10:38 -0400 (EDT)
Received: from imap10 ([10.202.2.60]) by compute2.internal (MEProxy); Mon, 07 Sep 2020 19:10:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm3; bh=VXoPmIJxNXjqVU4An89BOVZMLwv6XFL pU7EA8JShfIo=; b=Q8TbvE7EfLyYq9WzsKEaUqye7RwAqRW+rfW61AJDSXgIHln gdF5rRCyyDZ5I4aYRH4BWF1zI/jck0wHCKKnrHHk7hDM1LOI2SyfwuqRusFVdxaD caz0HtSVPoJv4lMx8HluAqL9i8TxslKUfq/OWpoSLGUk1/qDermLCCA2K5nlfvzE vIGblk7EOpQaAcN9Le7CyLzzTAmURgK5NHedX0gvEkiYoAzMtN8yAh+Wt9UMpGec XYS7vzcvd1LbKzWLSBxWEQ+p2+zpQ4DFyK5C1pGNGw6/EVGCxnqK9ZQX/ObRRO8p sgbpUdnTUnYL16JRR+S0mzr5eWWIZNRKStA5+cw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=fm3; bh=VXoPmI JxNXjqVU4An89BOVZMLwv6XFLpU7EA8JShfIo=; b=vVMgFzTSOeIeZU2dXREXAF 2VD2MA8Wozhw6HB1Q64uI8q7bjuAqfEtQHQqVIMJKa6ViO85x0cTuJteZUDrsNYk bqohaOSXFI/0XNikyVzomns50vizi1ljYgs9hsLa6vGrVzyjPAhgPViQCYQj/HHy cCYUY6mO05FcsqGEsfvvPDvLZza5Fc7vd4mKO0n8TK8OeqHb71ze1As/Co5KzkZB p2/YBSLGBfh4vMwrkrv/b91cYsFaTY7rVn/nchyqdrTYZmqd2H5peY9OnxlWM4J4 KK3WKXhtDjqCwXqnWi6yBi+jHIsEEl6ALq/to/kEVs/uYZ4lqWiefoXVxurrKs3A ==
X-ME-Sender: <xms:7b1WX_qPvAL72agbwaZRs31Yu-T4byoh6GkP9xp31cOvJRkMZROEBw> <xme:7b1WX5oFEmJ04mXJ3j3k_ZhsoluD093KV-6wmkerWQF6JkUOYDSn22UtdMHQz8vwP jbJCTj_SpDf_H3b9bI>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehuddgudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgoufhushhpvggtthffohhmrghinhculdegledmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdforghr thhinhcuvfhhohhmshhonhdfuceomhhtsehlohifvghnthhrohhphidrnhgvtheqnecugg ftrfgrthhtvghrnhepvdehvdehjeffheeivdelleelgeehhfeutdelveeuieeiveevffeh teeuleeivdeunecuffhomhgrihhnpehgihhthhhusgdrihhonecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhtsehlohifvghnthhrohhphidr nhgvth
X-ME-Proxy: <xmx:7b1WX8MWDaDd0nc6HBWB_v1CBSv8HfqpKTJhmHzJ71McSIs335nS6Q> <xmx:7b1WXy5PrUKs6h4XU_5QLAQqMdWZcCErzp6FZB6WD0jE5oFSh8tnEw> <xmx:7b1WX-7OmTcpXFMJKR_dNAlJmd_PV1QUBtPADE1jnLv2gHDDFbuYGg> <xmx:7b1WXwFALRlnk4y7VGhn1iikbb_XKxF2z9uQCCClpMWwnFqzS6TWtQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7DF5920108; Mon, 7 Sep 2020 19:10:37 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-259-g88fbbfa-fm-20200903.003-g88fbbfa3
Mime-Version: 1.0
Message-Id: <19d0a7e8-dc79-4bea-a818-8e07021d00f3@www.fastmail.com>
In-Reply-To: <fa609d62-b2e3-eeff-0964-e822f2e3ac3d@gmx.de>
References: <7c1e8964-1a4b-42e6-8af1-fc7a4e43ce14@www.fastmail.com> <fa609d62-b2e3-eeff-0964-e822f2e3ac3d@gmx.de>
Date: Tue, 08 Sep 2020 09:10:18 +1000
From: Martin Thomson <mt@lowentropy.net>
To: ietf-http-wg@w3.org
Content-Type: text/plain
Received-SPF: pass client-ip=64.147.123.19; envelope-from=mt@lowentropy.net; helo=wout3-smtp.messagingengine.com
X-W3C-Hub-Spam-Status: No, score=-9.8
X-W3C-Hub-Spam-Report: 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 1kFQHk-0004Mm-6O 6b97ed564306766453db16d0e7ef9ae6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New precondition fields and caching
Archived-At: <https://www.w3.org/mid/19d0a7e8-dc79-4bea-a818-8e07021d00f3@www.fastmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38029
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>


On Mon, Sep 7, 2020, at 18:44, Julian Reschke wrote:
> > If-None-Digest can be used for validation, so it currently defines that 304 (Not Modified) applies when a GET or HEAD request fails the precondition.  However, that seems fraught in ways I didn't originally anticipate.
> > ...
> 
> What spec defines this one?

It was a proposal I made: https://martinthomson.github.io/if-digest/draft-thomson-http-if-digest.html