Re: Call for Adoption: SEARCH method

Julian Reschke <julian.reschke@gmx.de> Thu, 19 November 2020 09:11 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 9E3753A1253 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Nov 2020 01:11:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.65
X-Spam-Level:
X-Spam-Status: No, score=-2.65 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 ce8zMC8HHT64 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Nov 2020 01:11:29 -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 4A05F3A1239 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Nov 2020 01:11: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 1kffy7-0007nw-KQ for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Nov 2020 09:11:07 +0000
Resent-Date: Thu, 19 Nov 2020 09:11:07 +0000
Resent-Message-Id: <E1kffy7-0007nw-KQ@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 <julian.reschke@gmx.de>) id 1kffy6-0007nA-IJ for ietf-http-wg@listhub.w3.org; Thu, 19 Nov 2020 09:11:06 +0000
Received: from mout.gmx.net ([212.227.15.15]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <julian.reschke@gmx.de>) id 1kffy4-0004Bn-V5 for ietf-http-wg@w3.org; Thu, 19 Nov 2020 09:11:06 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1605777052; bh=QLwWZVfTNQN1Ml1BPuOFzQcbmzgU2yn5U+UmRG5e5Vw=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=dowhwVf64cOHIewtJg/GBF4/Yv7XJXZMU3QE/PzE8XBPDwM29ZoI93+Yc4/LkcH9R NJAlMtfwvgIdyheb9srJPmoflkjl80No/wsTLK46Ygc5TQK6ZCky3Wt+M8INpDgLYp ZT1kfY71tk2Erv7VxbSSpwHagGneoPaEvg7QGIc0=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.20] ([84.171.157.31]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MRCK6-1krp3g2wtg-00NEB7; Thu, 19 Nov 2020 10:10:52 +0100
To: Greg Wilkins <gregw@webtide.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
References: <F0556EC2-D5AD-47FF-A780-15949F57A911@mnot.net> <5C86F8CE-3075-48C7-BFA0-B7E202225829@acm.org> <CABP7RbeA8mj=sQhRFx6cUnnGES9=fogy=94nWwWkuQDj2NBNfA@mail.gmail.com> <00838246-acb5-6ad3-5864-9cce8521d9ca@gmx.de> <CAAPGdfFVaiQduehRvX8e0jeKr6LV06cM5UCPmBxyNr1xkNEbjQ@mail.gmail.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <2c9e9983-f98a-f259-ba9c-c2fc1e6d1d4d@gmx.de>
Date: Thu, 19 Nov 2020 10:10:52 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3
MIME-Version: 1.0
In-Reply-To: <CAAPGdfFVaiQduehRvX8e0jeKr6LV06cM5UCPmBxyNr1xkNEbjQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:k3aaIsQxa3WBoON0GtScrBoPPZT0UL+wtxqHiEUcYxG32X3G2w1 GtICu314i0PxBeM19cwK1gYJeWiEtdiNgOaAghAcO96uIoz2PUCkM+ISLwWpW0GBmJFQ/Wk gz6WH0Zy4ybUj+8WgxtiWeDOXrLlic/pecrql9E564q4tVoLH16pB3RmHeS0QxLrgtmHcOn ktFuCbTXGQGVSGZcXvLGA==
X-UI-Out-Filterresults: notjunk:1;V03:K0:LmCn4BnYeUY=:PNqOxm7UHJjPxF6v4LPDPp oYnvorC68xHlW1Tmww72ZXh/1YJXjwbyo3jeHylB9v8xUvI4xfBUgAYcg3S+PjCCZJ5eKfaI9 OKszCBjXp6QF6sozz66KsJhYeCmzuslipFqj59ADfx4yMbegfKhG4DRKlyVZ3fgJy+prS0fWf JxJlAKsN/j9CbARcwRHVkBjijWh/biCxZtXoNKWcZJg9zNbl2YS2G9VbAyWa5p9mfRznI0W1v u95iurfkK3YVBaqjlIGJ8mduyJhrJf6GikU53jaeOWVeNVwD3OumR1naDp5/oZUXPsOD96DlR PxHCptj/KlgDt5Ywrbq9WGdOLX68kExHLmNLQpyPZ8cVkmQCBhcuNDW62oeEso2/keIOyP+4L bOFtEGmIudtZ+bSetQ1Z5Z+At7sHkRevTY1itCDT/k8g+e2Sghy1/CoCp/x6SIitEBs5BlUoE KG0ImOpXhj0VYtI5H2S6/dYxrU3xdQ06y9BqfyiQy1Wu4L+oEYoodDEFUuTkmvF+rHyPvEsCA +n05cBrnvPEjoHRErx9Cswjsg/JuoDdQxohbc19jNEyJdkjSwyx4sy0XB2MJYt8evHf+Wm2L8 mmz32uqRaIv411iW0umJCRfJd896eRuUaQBNBCbuH2RHpmMtaHDASKeu45wgPtDGKMLHhO/LZ oErDl3JXkhQjATfxR4KxfvHEtcfT/fSvztMyjd7/Rykwiix4M2u41z7IUr1ZzlYRI8rnZp93C 1vNPUMiXGSZHbN0LO8yoMimmiLsoUqa7sw86gOY97xN+8VhAhW+lLixKIMNII98rKaD+WxIf7 Gwnu61mcQV1ErqU2S4njkouGtY7XWmEQWenzcIsDQKusgAlWbXUwkKt+zA3Q+viS6TZImVl+x WgzGfoBEtsN4a29cNGEQ==
Received-SPF: pass client-ip=212.227.15.15; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-5.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1kffy4-0004Bn-V5 d0032a0120d76c45b1dda664f247d933
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Call for Adoption: SEARCH method
Archived-At: <https://www.w3.org/mid/2c9e9983-f98a-f259-ba9c-c2fc1e6d1d4d@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38247
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>

Am 19.11.2020 um 09:19 schrieb Greg Wilkins:
> ...
> Then why don't we just define the semantics of  GET's may have bodies.
 > ...

My understanding is that we won't be able to do that, because it would
not work everywhere. If we found out that not to be true, it would be an
alternative.

> A client that wishes to send a SEARCH or a GET with a body will equally
> have to expect a 4xx if something in the path doesn't expect either.
>
>   The main difference is that a GET with a body may receive a response
> that simply ignored the body and the client may not be able to determine
> that.  But then equally it is not possible to tell if a SEARCH method
> has been simply routed to a GET implementation and the body equally
> ignored.   If this is a concern, then perhaps defining a response header
> that indicates the request body was considered is a better way forward?

The subtle difference here is that a server that ignores the body on GET
currently is conformant, while a server that treats SEARCH as GET is buggy.

The suggestion with the response header field although is interesting.

Best regards, Julian