Re: Call for Adoption: SEARCH method
Michael Douglass <mikeadouglass@gmail.com> Fri, 06 November 2020 03:49 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 1E6323A097A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 5 Nov 2020 19:49:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.993
X-Spam-Level:
X-Spam-Status: No, score=-2.993 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, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, NICE_REPLY_A=-0.247, 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
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 aA8u9ASkE9f2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 5 Nov 2020 19:49:49 -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 129C03A0978 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 5 Nov 2020 19:49: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 1kasiU-0007pq-6m for ietf-http-wg-dist@listhub.w3.org; Fri, 06 Nov 2020 03:47:10 +0000
Resent-Date: Fri, 06 Nov 2020 03:47:10 +0000
Resent-Message-Id: <E1kasiU-0007pq-6m@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 <mikeadouglass@gmail.com>) id 1kasiS-0007oz-Df for ietf-http-wg@listhub.w3.org; Fri, 06 Nov 2020 03:47:08 +0000
Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <mikeadouglass@gmail.com>) id 1kasiQ-0008FY-Nz for ietf-http-wg@w3.org; Fri, 06 Nov 2020 03:47:08 +0000
Received: by mail-qk1-x735.google.com with SMTP id r7so26527qkf.3 for <ietf-http-wg@w3.org>; Thu, 05 Nov 2020 19:47:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=4rOAAGeZQTR9EU3KxGAFa3mAJxVuYzG6H4CUkEQFRlc=; b=WKVoOkZBti71nxbTn1twVukoiQpipHgb49AU8DUri58JT2aaB6K+ERkPg4rfZdxxRg YYmQJ5AQEm+uf+EjT0d7i1m3hQ1wJV6t3B+iY2zMGxcLxIhnxTE/IIwxmn/2P1O6Vzwj AZy+eHRU/NowID4KXPbyRG1wqO3jh8H4N6kXYB7fRuPak2F6qjWKnT8CB2Wxk1m3hHHE 6P5hn+MOo33LoN8x+x5qT3WqNzVLkdkKGGtxRbnMyDTqN/sL5K1YdFhs2Rf5I9AthM7J uCnS9AQPgvMrC3ztFPYApnt0s/6z/hUZbmgl+XdmnZ/C2iu/+h1KmBRFamOwxap3x+ly BPAQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=4rOAAGeZQTR9EU3KxGAFa3mAJxVuYzG6H4CUkEQFRlc=; b=Md6oo3rUeVlDMJbKUBFjDRm3Yl5lZj68glRbmJjyRGrvHEd/OofWBpT2Sd06jpGPGn YJ0kWuEb88Rc0TYKpq7Elk+AGeNsei8N213+kjJJ2J7f1nz5XSQVQ4ZZ3jB/ogBN8ZjZ KGDJTQFYqepOwqne2jfKbTIl7vLeLwRhe+VTYclhPBFTW3bV0ivmBkRfrlSlkKDUBUCa fpa69NQheSXycfS2tKwsr5uMsDtXMsLzv9wQP1IKgxsLrLwu8CB936GFRTnlPXV7ujoR EvizypB0/7PamCJ3+Q5rrhdC0cnAwPQ8qylGLO8G+/EOb+7rZyFP8rcDP8FwUQDTLTb7 ce6g==
X-Gm-Message-State: AOAM53012yeo8wHBzsQEW8cBQdcLZJXwpXLxOMz5Ls9ogVWQsbZpB4Sh a+K5bbZqXR+kDfLyNpXSBqlmqYGZrcoRxw==
X-Google-Smtp-Source: ABdhPJzkAnghfl4x361nSwaGQzb+JHjlG3/SEqp8J2tpAUp9DK7L+Kstxpr1vjVIZ+6gaVsyROnkJQ==
X-Received: by 2002:a37:98c7:: with SMTP id a190mr2822099qke.471.1604634415265; Thu, 05 Nov 2020 19:46:55 -0800 (PST)
Received: from MBP-2019.nycap.rr.com (cpe-74-70-80-66.nycap.res.rr.com. [74.70.80.66]) by smtp.googlemail.com with ESMTPSA id q28sm318004qkn.39.2020.11.05.19.46.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Nov 2020 19:46:54 -0800 (PST)
To: Julian Reschke <julian.reschke@gmx.de>, James Fuller <jim@webcomposite.com>
Cc: "HTTPbis WG (IETF)" <ietf-http-wg@w3.org>
References: <F0556EC2-D5AD-47FF-A780-15949F57A911@mnot.net> <8AE9002C-78DE-41E6-8D5E-C2FAF76A3A3B@bzfx.net> <a09e0f19-f1ca-1e70-05d6-f59f4fe06cec@gmx.de> <CAEaz5mvdTNGtxkB26cp9NpTSr1kD5Bpb1t_LBBEX349yCqS2cg@mail.gmail.com> <2c90fb7d-483c-fc8a-2406-859d3910494d@gmail.com> <50f1e5d6-54b3-a73a-3ea8-1876151245af@gmx.de>
From: Michael Douglass <mikeadouglass@gmail.com>
Message-ID: <e9663b7f-99fa-2fd6-6e3c-3a1a66c4b469@gmail.com>
Date: Thu, 05 Nov 2020 22:46:53 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.1
MIME-Version: 1.0
In-Reply-To: <50f1e5d6-54b3-a73a-3ea8-1876151245af@gmx.de>
Content-Type: multipart/alternative; boundary="------------7327CA4792C0ABBD43517492"
Content-Language: en-US
Received-SPF: pass client-ip=2607:f8b0:4864:20::735; envelope-from=mikeadouglass@gmail.com; helo=mail-qk1-x735.google.com
X-W3C-Hub-Spam-Status: No, score=-4.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, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1kasiQ-0008FY-Nz 3a5ea7a778c90e534f234f4d108d33a2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Call for Adoption: SEARCH method
Archived-At: <https://www.w3.org/mid/e9663b7f-99fa-2fd6-6e3c-3a1a66c4b469@gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38192
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 11/5/20 14:37, Julian Reschke wrote: > Am 05.11.2020 um 19:05 schrieb Michael Douglass: >> I also support not limiting the content type. I can imagine implementing >> a search extension to existing XML based protocols. >> >> RFC5323 Section 3 say's >> >> Clients can determine which query grammars are supported by an >> arbiter by invoking OPTIONS on the search arbiter. If the resource >> supports SEARCH, then the DASL response header will appear in the >> response. The DASL response header lists the supported grammars. >> >> Servers supporting the WebDAV extensions [RFC3253 >> <https://tools.ietf.org/html/rfc3253>] and/or [RFC3744 >> <https://tools.ietf.org/html/rfc3744>] >> MUST also: >> >> o report SEARCH in the live property DAV:supported-method-set for >> all search arbiter resources, and >> >> ... >> >> Presumably a WebDAV compliant client knows whether or not SEARCH is >> supported as a WebDAV service >> >> So: >> >> If it's in DAV:supported-method-set it's WebDAV SEARCH >> >> If it's in the "Accept-Search" Header Field it's the new SEARCH >> >> and you can't have both. No need to parse the content. >> ... > > Yes, but... > > The content type in the payload is supposed to describe the query > semantics. I would expect any new use of SEARCH to actually use a > payload format that is more specific than text/xml or application/xml. > > Am I missing something here? Sorry - I think I replied too high up in the thread. Your later message said: > >> 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 >> <https://tools.ietf.org/html/rfc5323>]. > > I think this is too restrictive. If it’s not possible to relax the > RFC5323 requirements, I would favor using REPORT instead. > ... > > We can relax the requirement to apply only to */xml which has a document > element in the "DAV:" namespace (see > <https://greenbytes.de/tech/webdav/rfc5323.html#rfc.section.2.2.2>, or > even restrict it to the two element names defined there). I think my suggestion is a valid way of distinguishing between WebDAV search and the new search. Given the existing and proposed headers there's no need to parse the content to determine if it's a WebDAV search. If it's a WebDAV search then that's handled however it's done now (or in the future). If it's the new search then I don't see that we need to restrict the content to NOT have DAV: namespace elements. > > Best regards, Julian
- Call for Adoption: SEARCH method Mark Nottingham
- Re: Call for Adoption: SEARCH method Willy Tarreau
- Re: Call for Adoption: SEARCH method Mark Nottingham
- Re: Call for Adoption: SEARCH method Willy Tarreau
- Re: Call for Adoption: SEARCH method Cory Benfield
- Re: Call for Adoption: SEARCH method Roberto Polli
- Re: Call for Adoption: SEARCH method Julian Reschke
- Re: Call for Adoption: SEARCH method Austin Wright
- Re: Call for Adoption: SEARCH method Guilherme Hermeto
- Re: Call for Adoption: SEARCH method Henry Story
- Re: Call for Adoption: SEARCH method Greg Wilkins
- Re: Call for Adoption: SEARCH method James Fuller
- Re: Call for Adoption: SEARCH method Julian Reschke
- Re: Call for Adoption: SEARCH method James Fuller
- Re: Call for Adoption: SEARCH method Glenn Block
- Re: Call for Adoption: SEARCH method Henry Story
- Re: [EXTERNAL] Call for Adoption: SEARCH method Glenn Block
- Re: Call for Adoption: SEARCH method Ben Schwartz
- Re: Call for Adoption: SEARCH method Michael Douglass
- Re: Call for Adoption: SEARCH method Julian Reschke
- RE: Call for Adoption: SEARCH method Mike Bishop
- Re: Call for Adoption: SEARCH method Michael Douglass
- Re: Call for Adoption: SEARCH method Julian Reschke
- Re: Call for Adoption: SEARCH method Nick Harper
- Re: Call for Adoption: SEARCH method James M Snell
- Re: Call for Adoption: SEARCH method Ben Schwartz
- Re: Call for Adoption: SEARCH method Mark Nottingham
- Re: Call for Adoption: SEARCH method Ben Schwartz
- Re: Call for Adoption: SEARCH method James M Snell
- Re: [EXTERNAL] Re: Call for Adoption: SEARCH meth… Glenn Block
- Re: [EXTERNAL] Re: Call for Adoption: SEARCH meth… Glenn Block
- Re: Call for Adoption: SEARCH method Philippe Mougin
- Re: Call for Adoption: SEARCH method Julian Reschke
- Re: Call for Adoption: SEARCH method Philippe Mougin
- Re: Call for Adoption: SEARCH method James M Snell
- Re: Call for Adoption: SEARCH method Julian Reschke
- Re: Call for Adoption: SEARCH method Nick Harper
- Re: Call for Adoption: SEARCH method Julian Reschke
- Re: Call for Adoption: SEARCH method Martin Thomson
- Re: Call for Adoption: SEARCH method Julian Reschke
- Re: Call for Adoption: SEARCH method Philippe Mougin
- Re: Call for Adoption: SEARCH method James Fuller
- Re: Call for Adoption: SEARCH method Greg Wilkins
- Re: Call for Adoption: SEARCH method James Fuller
- Re: Call for Adoption: SEARCH method Julian Reschke
- Re: Call for Adoption: SEARCH method Julian Reschke
- Re: Call for Adoption: SEARCH method Julian Reschke
- Re: Call for Adoption: SEARCH method James Fuller
- Re: Call for Adoption: SEARCH method James M Snell
- Re: Call for Adoption: SEARCH method Asbjørn Ulsberg
- Re: Call for Adoption: SEARCH method Julian Reschke
- Re: Call for Adoption: SEARCH method Philippe Mougin
- Re: Call for Adoption: SEARCH method Mitar
- Re: Call for Adoption: SEARCH method Tommy Pauly
- Re: Call for Adoption: SEARCH method James M Snell
- Re: Call for Adoption: SEARCH method Julian Reschke
- Re: Call for Adoption: SEARCH method Roberto Polli
- Re: Call for Adoption: SEARCH method Juan Barriteau
- Re: Call for Adoption: SEARCH method Julian Reschke
- Re: Call for Adoption: SEARCH method Juan Barriteau