Re: Call for Adoption: SEARCH method

Martin Thomson <mt@lowentropy.net> Thu, 19 November 2020 06:15 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 31EA73A0E5C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Nov 2020 22:15:59 -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=lowentropy.net header.b=ATz31w6r; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=jT+oZT5a
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 i4d0-OLXC5ms for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Nov 2020 22:15:58 -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 DBF073A0E55 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Nov 2020 22:15:57 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1kfdEO-0001iT-Kk for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Nov 2020 06:15:44 +0000
Resent-Date: Thu, 19 Nov 2020 06:15:44 +0000
Resent-Message-Id: <E1kfdEO-0001iT-Kk@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 <mt@lowentropy.net>) id 1kfdEN-0001hi-OG for ietf-http-wg@listhub.w3.org; Thu, 19 Nov 2020 06:15:43 +0000
Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mt@lowentropy.net>) id 1kfdEM-0007vf-79 for ietf-http-wg@w3.org; Thu, 19 Nov 2020 06:15:43 +0000
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AA5295C0164 for <ietf-http-wg@w3.org>; Thu, 19 Nov 2020 01:15:30 -0500 (EST)
Received: from imap10 ([10.202.2.60]) by compute1.internal (MEProxy); Thu, 19 Nov 2020 01:15:30 -0500
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=v4Aa9TnUN/CXpetjgVFd4JPeYM2bC+A VPI03p8zgi/A=; b=ATz31w6rF0XyKh5al/rgQJLea06JDFeX0mBu3iQOlb9PRis BjTtlUlD+IXOheF1CwmnF5Z0UwPaqm2/OBhEsVXhRtJMZNNcwnh7XayNSXZXUzqc GYxASa6l1YF+QeIyObWBUEuCngqNSlTaIBygmnB1cwpwS470KTwVabs8FBY7kX+p ukWtzdtuCqIasP8P0YtfNvWdnhT8bBJEOXd6bsea1ZTuDb1CM4ESiZWCdEqurOwf jbYAW4CiReiZRmNYq1JMybnqAdZr1AjBB3V5J63aPinTzkvBnujOu17pKWTjLw+i wiJe4MC1hJsfbkobLj4h1xiydV7Ti7KEqVxLf3Q==
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=fm1; bh=v4Aa9T nUN/CXpetjgVFd4JPeYM2bC+AVPI03p8zgi/A=; b=jT+oZT5ayr6mgva3rNroyr wOLxX/lpdIvZIMhn6h9SSxUZ19aCmN1W90HcL7ClbfwC9TiOCQ0dd3Y+BModx5gs m5fNIbWQ6wsprfiZlIM0AMivZ07vHVo8zPEiv2Da+UAG6k/QavJygcqK+2get1ws JthHDYZ9lT/Mo2eyXdAnmZ1u7Mo40B/hmsiIlJS4DkCvi47kQpitmEIRkr18DdcQ cDyAV933FWP5cVmpHuOam9P8CmiL/qV2nz8e3U57piCNmv5kvXjtY0zspO4slTev PKxCxTJEg0bgk82mA5Q6HdEBGWwdTlNAzPwi6B2BHrP1krTk8Rfoejf6EOgR4dTA ==
X-ME-Sender: <xms:gg22X26jt2nRWIGkCnX_U14dUCFPsxHYChylV63x23td93RjNiNaNg> <xme:gg22X_6FY1Vjwfi0RT5cdeWSNZpj44PTnEx5PDNs7FTn9Hi-kBqzolnCBceUw5dnX P4vGJMJkuckqaMZl8g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudefiedgleduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfofgrrhhtihhnucfvhhhomhhsohhnfdcuoehmtheslhho figvnhhtrhhophihrdhnvghtqeenucggtffrrghtthgvrhhnpeekteeuieektdekleefke evhfekffevvdevgfekgfeluefgvdejjeegffeigedtjeenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmtheslhhofigvnhhtrhhophihrdhnvg ht
X-ME-Proxy: <xmx:gg22X1eZSofS-wjwlUtWkL32ydDLaSPKK82hVSsFL31FAxeF-aNRuw> <xmx:gg22XzLgnrOokYOnuJnu5_sFImTZm6OrejhQQzpmy8IcEM7oXTtlQw> <xmx:gg22X6Ilbn7vJnSUgrhMMMo5jNQqxurSnv0HuTH4YTQ0caiAHtWAGQ> <xmx:gg22X_XNYyyppSk7VJBARmJ9fOCQbchxuRFpkHAUwdi-6lXlqBtBFA>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6E07120162; Thu, 19 Nov 2020 01:15:30 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-622-g4a97c0b-fm-20201115.001-g4a97c0b3
Mime-Version: 1.0
Message-Id: <a2ca04d1-8da9-45d6-a390-cc911e3310e9@www.fastmail.com>
In-Reply-To: <2f282629-3413-6b24-6e68-a724acea9aa5@gmx.de>
References: <F0556EC2-D5AD-47FF-A780-15949F57A911@mnot.net> <5C86F8CE-3075-48C7-BFA0-B7E202225829@acm.org> <CABP7RbeA8mj=sQhRFx6cUnnGES9=fogy=94nWwWkuQDj2NBNfA@mail.gmail.com> <CACcvr=mvavjLEX740zZp__yGpDv6sA9P-=psGns2uY-=mRK2DQ@mail.gmail.com> <2f282629-3413-6b24-6e68-a724acea9aa5@gmx.de>
Date: Thu, 19 Nov 2020 17:15:10 +1100
From: Martin Thomson <mt@lowentropy.net>
To: ietf-http-wg@w3.org
Content-Type: text/plain
Received-SPF: pass client-ip=66.111.4.27; envelope-from=mt@lowentropy.net; helo=out3-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: mimas.w3.org 1kfdEM-0007vf-79 f873801ab251e2f3695a27ed960c4f8d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Call for Adoption: SEARCH method
Archived-At: <https://www.w3.org/mid/a2ca04d1-8da9-45d6-a390-cc911e3310e9@www.fastmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38240
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 Thu, Nov 19, 2020, at 17:06, Julian Reschke wrote:
> That is solved my moving the "query" into the payload; but then, the
> normalization question just applies to a different part of the request.

Isn't it the case that in doing so the payload format is able to deal with things like normalization?  

That is, if I were to use a JSON-based format a SEARCH containing { "a": true, "b": 1 } might be treated differently from { "b": 1, "a": true } in some cases, but not if the format were to say that order doesn't matter.

Now that I've written that out I realize that a better example might be differing whitespace in the different bodies.