Re: Call for Adoption: SEARCH method

Nick Harper <ietf@nharper.org> Thu, 19 November 2020 05:45 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 31E653A0DE2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Nov 2020 21:45:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.646
X-Spam-Level:
X-Spam-Status: No, score=-2.646 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_BLOCKED=0.001, 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
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 VIMqELoVx-df for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Nov 2020 21:45:05 -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 7399B3A0DE0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Nov 2020 21:45:05 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1kfciY-0007o8-Kv for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Nov 2020 05:42:50 +0000
Resent-Date: Thu, 19 Nov 2020 05:42:50 +0000
Resent-Message-Id: <E1kfciY-0007o8-Kv@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <nharper@nharper.org>) id 1kfciX-0007nI-R5 for ietf-http-wg@listhub.w3.org; Thu, 19 Nov 2020 05:42:49 +0000
Received: from mail-il1-f170.google.com ([209.85.166.170]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <nharper@nharper.org>) id 1kfciV-0006r1-MD for ietf-http-wg@w3.org; Thu, 19 Nov 2020 05:42:49 +0000
Received: by mail-il1-f170.google.com with SMTP id y9so4257884ilb.0 for <ietf-http-wg@w3.org>; Wed, 18 Nov 2020 21:42:47 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lKa9NAqDpmDVlXnkaK8R1/4p8n1aNzy5Abwgvbc8Mdk=; b=H2IDrxUMY5hOxPfUedx4x+QDSaZJWPEM2CFcWBf8p4H46NS3c1cvc5BJ4nhZB2eHfR pTQUd3cGTM7cA0yXY78NwictWJHvqco2vHcBiIJlszSyB3mwoQV7cwYBCZY0ObPu5gj/ bLxhWuAyfyZA2OgaNQJ2B43UiGilbuGjpH2uKnEH5teABurdhClCyeD2QUsC01mHA7qh Uq8pVAmHxN6Zxrn2GEouHZoFAlX13a3e7XSQzht/8QaoZVTYN03AEgLZRH0JLXCRdNlg Tup983vFKy2hBun0z1SHYQOD9po078VolelOsbs1EqgFYp3K2bCGK7sRFh15fV2NPKKd d/pw==
X-Gm-Message-State: AOAM530KPrmTfMMSkhGx5IenViPD1FChfgtvv5d8LH/7sDhlmmHuMdN8 Juf8YZWROYj2pFesLyBXGwCJFtN/BhGkst8SDErSRPmr/4FmIQ==
X-Google-Smtp-Source: ABdhPJxGXk+hRMiEzEvW9FISglx2q5xmhC+8WAqrXp82efhUWwjr1uDAH37UJ7LU1G9wf1beO0bUb9xFM6WbmH83TZU=
X-Received: by 2002:a05:6e02:14c9:: with SMTP id o9mr21194701ilk.137.1605764556354; Wed, 18 Nov 2020 21:42:36 -0800 (PST)
MIME-Version: 1.0
References: <F0556EC2-D5AD-47FF-A780-15949F57A911@mnot.net> <5C86F8CE-3075-48C7-BFA0-B7E202225829@acm.org> <CABP7RbeA8mj=sQhRFx6cUnnGES9=fogy=94nWwWkuQDj2NBNfA@mail.gmail.com>
In-Reply-To: <CABP7RbeA8mj=sQhRFx6cUnnGES9=fogy=94nWwWkuQDj2NBNfA@mail.gmail.com>
From: Nick Harper <ietf@nharper.org>
Date: Wed, 18 Nov 2020 21:42:25 -0800
Message-ID: <CACcvr=mvavjLEX740zZp__yGpDv6sA9P-=psGns2uY-=mRK2DQ@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Philippe Mougin <pmougin@acm.org>, Mark Nottingham <mnot@mnot.net>, Tommy Pauly <tpauly@apple.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="000000000000f992f705b46f3117"
Received-SPF: none client-ip=209.85.166.170; envelope-from=nharper@nharper.org; helo=mail-il1-f170.google.com
X-W3C-Hub-Spam-Status: No, score=-3.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1kfciV-0006r1-MD 4ddb03c02fe53fcddb2ab99e21e2685e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Call for Adoption: SEARCH method
Archived-At: <https://www.w3.org/mid/CACcvr=mvavjLEX740zZp__yGpDv6sA9P-=psGns2uY-=mRK2DQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38238
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 Wed, Nov 18, 2020 at 7:43 PM James M Snell <jasnell@gmail.com> wrote:

> On Wed, Nov 18, 2020, 12:18 Philippe Mougin <pmougin@acm.org> wrote:
>
>>
>> Hello,
>>
>>
>> I don't support adoption because:
>>
>>
>> - The introduction provides an inaccurate and self contradictory
>> description of GET, as detailed in this message:
>> https://lists.w3.org/Archives/Public/ietf-http-wg/2020JulSep/0198.html
>>
>>
>> - The name of the method appears too restrictive, as a safe and
>> idempotent equivalent to POST, which is what the draft essentially defines,
>> would be useful beyond search operations.
>>
>>
> To be clear, this is not intended as a safe, idempotent equivalent to
> POST. It is intended specifically to cover search/query operations which
> are often ambiguously represented as GET or POST. I'm not quite sure what a
> safe idempotent equivalent to POST would even be, but this is not it.
>

When this draft was presented at the October interim, it was presented in
the context of solving the problem of providing a safe (and idempotent)
HTTP method that has a request body, i.e. a safe POST or a GET with a body.
That problem (i.e. specifying such an HTTP method) is what I'm interested
in solving, not bringing WebDAV's SEARCH semantics to HTTP.

A question for the working group: in this Call for Adoption, are we
considering adopting a general-purpose method that is safe and has a
request body, or are we considering adopting work on the specific
search/query semantics that this draft intends to cover?

If the former, I support that goal, and this draft could be a starting
point. If the latter, I do not support adopting this draft. It also appears
that the draft does not succeed in meeting that goal. The draft includes a
list of 4 bullet points in the introduction of problems using the GET
method. The first two points concern the semantics, but they are not solved
by the SEARCH method presented in the draft. The last two points are
addressed by the SEARCH method, but they are not specific to search/query
semantics and would be solved just as well by a general-purpose method.

>
>
>
>> I would support the adoption if the introduction was amended and the
>> draft was extended beyond providing a SEARCH method to something more
>> generic, such as, for instance, a COMPUTE method.
>>
>
> This can be discussed later once the draft is adopted but I'd be a strong
> -1 on COMPUTE as a viable method name here.
>
>
>> Best,
>>
>>
>> Philippe Mougin
>>
>> Le 4 nov. 2020 à 02:10, Mark Nottingham <mnot@mnot.net> a écrit :
>>
>> 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
>>
>>
>>