Re: Call for Adoption: SEARCH method

Henry Story <henry.story@gmail.com> Thu, 05 November 2020 16:52 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 919FC3A17F8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 5 Nov 2020 08:52:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.748
X-Spam-Level:
X-Spam-Status: No, score=-2.748 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.25, 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=gmail.com
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 l_1J1JbZnwJ2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 5 Nov 2020 08:52:30 -0800 (PST)
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 0D15E3A17F7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 5 Nov 2020 08:52:29 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1kaiUg-0000aW-Mo for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Nov 2020 16:52:14 +0000
Resent-Date: Thu, 05 Nov 2020 16:52:14 +0000
Resent-Message-Id: <E1kaiUg-0000aW-Mo@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 <henry.story@gmail.com>) id 1kaiUf-0000Zf-1o for ietf-http-wg@listhub.w3.org; Thu, 05 Nov 2020 16:52:13 +0000
Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by titan.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <henry.story@gmail.com>) id 1kaiUd-00048z-A7 for ietf-http-wg@w3.org; Thu, 05 Nov 2020 16:52:12 +0000
Received: by mail-ed1-x52f.google.com with SMTP id o18so2271748edq.4 for <ietf-http-wg@w3.org>; Thu, 05 Nov 2020 08:52:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=X06HW/zIBTGTX4ILSA9HKm4NOgfkBraH8PmA1NAS2js=; b=WP2u6HhQeUs8yOTNv/ODU9j2y1gyb0rBoknyaCgKr8EU2HeLVXRhufxoA3nY1X/DPH jlrSnCRr0rA+sbRLkfTOcjJOPMgL2aT/o2Hs/Jfz5ZWUdgeJljkAYY7UkqbDfhle65AE IM3et0YwEg/VrfsZCI7XHjGe4lu0b3zDRjR9re37fvkjnr8wT4X+VpTQELDpn2Pl1gbJ g+ooizYkTbNNjHYKd2l5M6yXYM1Wr0tEjgNlBnKzoAJzJe5WkXkno/734Gq1WIW4a/6h 8cIXg6YW1Q3UHt4VvBZBjkGITVe5BkBR91mN9ZDFALd8h7ZTsP9LjB7/T7sl8BhlwSY6 tgkw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=X06HW/zIBTGTX4ILSA9HKm4NOgfkBraH8PmA1NAS2js=; b=f5QeOSKI9ZguJEsn8CYMAbofcnVH5ypSuYHecsFwyCNfv35Lh0ZWpsq2AvjfemBHw+ n9Bo+JjhBGFl+7t9mJIBJ2PvOUQ3kH22b68Ukp5k562pZbvQOejeFzUgrL1rE7AL64LY KP2663cy29lsj4k0QBHpFNMeDT8kijwNEPCfJF+5SvfhN6L3UPin4JRjQZyMRISPNvUO InrkavoYn8fnVU7pOzgMV9tkFXJkAse0y8orocIupgR/F6vCaZJ9Khcq7aGeKFsysDZq RcB+fF/ko5jriiTm+QfrBVgdd0Y1FirpVK+hHwWFpNpyVe8yauFpVyvH2SrExCwQi/D0 0ylQ==
X-Gm-Message-State: AOAM530u0pc9ucFS3FpqjrlRw8ctEsgHW9RQ1FfwPIOa1FeL7K6ZbZrz RHLYeB97VFi5CN72ka/kZcU=
X-Google-Smtp-Source: ABdhPJxqDaSbUh/Ma+rQvXVTKqtLzkNldZHEfPyOmks954Spdczy9LfF7NbUntBTN82tQ4ofI0kf9A==
X-Received: by 2002:aa7:dbcf:: with SMTP id v15mr3431011edt.70.1604595119662; Thu, 05 Nov 2020 08:51:59 -0800 (PST)
Received: from ?IPv6:2003:cf:1708:a800:24ee:585f:13d6:8d30? (p200300cf1708a80024ee585f13d68d30.dip0.t-ipconnect.de. [2003:cf:1708:a800:24ee:585f:13d6:8d30]) by smtp.gmail.com with ESMTPSA id nd5sm1256789ejb.37.2020.11.05.08.51.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Nov 2020 08:51:58 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Henry Story <henry.story@gmail.com>
In-Reply-To: <CAHbrMsBKLC6Yuf_jauAwdRh_7Ds3Q8KAMCDTJ3VC8BPxRz-wSg@mail.gmail.com>
Date: Thu, 05 Nov 2020 17:51:57 +0100
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>, Tommy Pauly <tpauly@apple.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <FA374B50-6A55-4DE9-B20D-53DB3E1CB497@gmail.com>
References: <F0556EC2-D5AD-47FF-A780-15949F57A911@mnot.net> <CAHbrMsBKLC6Yuf_jauAwdRh_7Ds3Q8KAMCDTJ3VC8BPxRz-wSg@mail.gmail.com>
To: Ben Schwartz <bemasc@google.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=henry.story@gmail.com; helo=mail-ed1-x52f.google.com
X-W3C-Hub-Spam-Status: No, score=-5.1
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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1kaiUd-00048z-A7 14f2e3171f66686e1cb1976b1283e7ed
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Call for Adoption: SEARCH method
Archived-At: <https://www.w3.org/mid/FA374B50-6A55-4DE9-B20D-53DB3E1CB497@gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38181
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 5 Nov 2020, at 17:45, Ben Schwartz <bemasc@google.com> wrote:
> 
> The draft says "The response to a SEARCH request is not cacheable.".  Why is that?  Semantically, it seems that caching keyed by the request body should behave correctly.
> 
> RFC 7234 says "it is also possible to cache ... responses to methods other than GET if the method's definition allows such caching and defines something suitable for use as a cache key.".
> 
> Without support for caching, I don't have any reason to prefer this method over POST.  With support for caching, this would have been very useful in DoH.

I also had concerns about this.

My guess is that this comes from overlooking the browser as one of the most
important caches around, especially with the move to TLS everywhere.

A browser should be able to implement some of the query languages directly
so that if it has a representation locally it can query that representation
without downloading the remote one.

Henry


> 
> On Tue, Nov 3, 2020 at 8:10 PM Mark Nottingham <mnot@mnot.net> wrote:
> As discussed in the October 202 Interim, this is a Call for Adoption for the HTTP SEARCH method draft:
>   https://tools.ietf.org/html/draft-snell-search-method-02
> 
> Please indicate whether you support adoption in response to this e-mail; information about intent to implement (or use) it is also useful.
> 
> The Call for Adoption will end on 18 November 2020.
> 
> Cheers,
> 
> Mark and Tommy
> 
>