Re: Call for Adoption: SEARCH method

Henry Story <henry.story@gmail.com> Thu, 05 November 2020 03: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 971813A16A3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 4 Nov 2020 19:13:53 -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 DNaEDWp2Qs6A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 4 Nov 2020 19:13:51 -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 50F323A16AF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 4 Nov 2020 19:13:48 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1kaVfm-0006rL-QZ for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Nov 2020 03:10:51 +0000
Resent-Date: Thu, 05 Nov 2020 03:10:50 +0000
Resent-Message-Id: <E1kaVfm-0006rL-QZ@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 <henry.story@gmail.com>) id 1kaVfk-0006qY-To for ietf-http-wg@listhub.w3.org; Thu, 05 Nov 2020 03:10:49 +0000
Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <henry.story@gmail.com>) id 1kaVfj-0003C5-40 for ietf-http-wg@w3.org; Thu, 05 Nov 2020 03:10:48 +0000
Received: by mail-ed1-x533.google.com with SMTP id j20so267480edt.8 for <ietf-http-wg@w3.org>; Wed, 04 Nov 2020 19:10:46 -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=PojuC17UsoKWssp+jxOTNwnrlTQlSRo7VqMoz6gg5Pw=; b=RvFa2MFzuVBNEBeMrFyeWOmmPuPY0fbHsL5mt5l08nUvBIe4A/5fLFldUxB4ixwEpf DgVI5GEE1ObUz5dAnkrHxv4vM/o09oXFzEu8y0GIlctgH3dGPB0Ckf2SKOJnmfSNnEAI pavOXNJ0Y5S+yVUxx/7IgE7Jz0AR+6HdHFUsXkyoEW3jjimJyWeCquUW8cd0JSz+Et3i czr5612QPyeeVPEo7UK2ANHlpc9sah0lvYsr/4ou/N5HPaJ2yjFs2KgQX81XAqaQxDuJ VRWE7BYBmCvWJ1zB32beoSTFqOrr1BHqJn+BoJk7+03xT9a+IGegEcBPg4S9DdEp9FNS 80gQ==
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=PojuC17UsoKWssp+jxOTNwnrlTQlSRo7VqMoz6gg5Pw=; b=WM3ibNHxgPVKrs3rhDRbagq5YkhktH50mhiqRKFIMBHOVx2Qf9v1IU0MvRlC/X5sKg WRTmnzryAywVU5cmicWlbUZYcmNXkzFAtBgEXUbvcBaAB7bY1k5lki4jiflQl0wR2izB JO9oTeFMURTYe7nJ659NkmJMm+nvrFFGY3vmTQecVEq248RS36WP3dXkyH5bL8NFWtcB uV8rlHgyIh64XzNdM0lId4+rmyNAnArE/0tlUtFox6rYHhdCVhSDds/5UkQK5p9R1nC7 WawN0rgGeL2SFu07QKoW4HhZIqSHW+zsVYLB0z4N7CV02Ywdywh9xKDzpNVhhmgErXGc 8bNA==
X-Gm-Message-State: AOAM533ZgMY3yAZUIBLtZTgNDYUQADONqrf+HmjwuGM6poZAriRF4j7u M4G7slApIquavJUObNHEjv7vQe6EFJE=
X-Google-Smtp-Source: ABdhPJxwHZOofNWUM0grykC4xDLLYwTOOWYmbYVKvHlytDQAd6WOU+C4k0jvVpdNuuQL+2HlJVxM6A==
X-Received: by 2002:aa7:d858:: with SMTP id f24mr504060eds.12.1604545835678; Wed, 04 Nov 2020 19:10:35 -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 d23sm89496edp.36.2020.11.04.19.10.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Nov 2020 19:10:34 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
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: <8AE9002C-78DE-41E6-8D5E-C2FAF76A3A3B@bzfx.net>
Date: Thu, 05 Nov 2020 04:10:31 +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: <7C200F65-6AB1-4303-9197-6BEE67074915@gmail.com>
References: <F0556EC2-D5AD-47FF-A780-15949F57A911@mnot.net> <8AE9002C-78DE-41E6-8D5E-C2FAF76A3A3B@bzfx.net>
To: Austin Wright <aaa@bzfx.net>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=henry.story@gmail.com; helo=mail-ed1-x533.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: mimas.w3.org 1kaVfj-0003C5-40 ff380451ab53e897157622c4783eb963
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Call for Adoption: SEARCH method
Archived-At: <https://www.w3.org/mid/7C200F65-6AB1-4303-9197-6BEE67074915@gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38167
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 4 Nov 2020, at 21:40, Austin Wright <aaa@bzfx.net> wrote:
> 
> 
> 
>> On Nov 3, 2020, at 18:07, 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
>> 
>> 
> 
> I’m very much in favor of a safe variation of POST.
> 
> However,
> > for backwards compatibility with existing WebDAV implementations, SEARCH requests that use the text/xml or application/xml content types MUST be processed per the requirements established by [RFC5323].
> I think this is too restrictive. If it’s not possible to relax the RFC5323 requirements, I would favor using REPORT instead.

Perhaps the restriction can be relaxed by finding a way for the resource
to describe itself some other way, rather than by mime type?
In LDP this is done by having a resource describe itself as being of a certain
type with a Link relation ”type” ldp:Resource , ldp:Container, etc…

see example 2: 
https://www.w3.org/TR/ldp/#ldpc-informative

It also has headers "Accept-Post:”  to guide the client
on what can be POSTed to a container and ”Accept-Patch”
to guide it on what PATCH language can be used.

A similar technique could be used to help specify the query language
here?

Henry
https://co-operating.systems/

> 
> I intend to implement whatever is adopted.
> 
> Thanks,
> 
> Austin Wright.