Re: Feedback on draft-ietf-httpbis-safe-method-w-body-02

"Slik, David" <David.Slik@netapp.com> Thu, 20 January 2022 09: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 670393A1EB1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 20 Jan 2022 01:45:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.747
X-Spam-Level:
X-Spam-Status: No, score=-2.747 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, RCVD_IN_MSPIKE_H3=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=netapp.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 LHDBvYZGPlLN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 20 Jan 2022 01:45:41 -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 3E16A3A1EAE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 20 Jan 2022 01:45:40 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1nATyJ-0001Vk-0Z for ietf-http-wg-dist@listhub.w3.org; Thu, 20 Jan 2022 09:43:11 +0000
Resent-Date: Thu, 20 Jan 2022 09:43:11 +0000
Resent-Message-Id: <E1nATyJ-0001Vk-0Z@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <David.Slik@netapp.com>) id 1nATyF-0001Uk-Nw for ietf-http-wg@listhub.w3.org; Thu, 20 Jan 2022 09:43:07 +0000
Received: from mail-co1nam11on2061a.outbound.protection.outlook.com ([2a01:111:f400:7eab::61a] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <David.Slik@netapp.com>) id 1nATyD-0002AD-LY for ietf-http-wg@w3.org; Thu, 20 Jan 2022 09:43:07 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kJbri2fHplgg+6obIiZ/S19Kxf2NT2p70EbAuO6GK2pcZmUwhxEo4cZsHAB5DatpymBGgsP9pM0LWhfx+exdzMqH0aGGFhaVGnkvoX3D0HIsf5nHmQ6gZ0JmwRXtHC88wiQOWyUFb7FtoVoKNbcMdYjOr+6ABebBaaQ4/2jhx7jj6j3zH4ovva4tXwIPpi05Qd6MM18iSAE/RNo0jt2IJxhPKMT1LySp5szKhdpwGBT48KlNiZAWQ/eAdrbsDNqrULC7tSmB+RM+d1Md7Jk4BpfoizUAjaEJObXyFlLtQFeM/FKETB3ajzU9mvLztFlqCPGqhwyiPs2KlExSbmx9Tg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gPcV1am9DOKDkbWGBGAOFVRwVH/hlR4EMBW/w5rzOxE=; b=VG7GpKAnrF9vABogr5l9FARS0Dpe/Izdxi18XlgyKCGC2i1t6kqkWmtsXGnS4cujPKN9cTPcED+5diLNHfNg/wDXi4m8YUkrsr+1U53tJ2HrLg9mhGyvCaV39CjYOdE6EThrOPLPdFBA1NW9OC1b/jViEx7M89euGyehZWG4HH2Lul+QVRzziZURsP3l6MmG1oPNbHrYXrMDmJ0CgZbW8RYP+0UlI9Y9Ylp4jx8c5c2aJU6HhRMcVItSOGzd9pSTl76Wdlj+sjvGm+GWWypNt7Lm8cteUFLdfhlLBEjIgzDw9pJI3IM0A9pds41xwGIzMnMBET34OOOE67nixGgSTA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gPcV1am9DOKDkbWGBGAOFVRwVH/hlR4EMBW/w5rzOxE=; b=MGLHb8a9Slj46GX7g0cjalDc2ttOGkQZjuNOLBA/r3KSCbaAaKIIaaGY+3ehqCZqM2l0yRdU7pqYiV5X3jtTskZIljsUbpUavdpVJTTqo1nXGVW42ZR1N+QG/x6TMUWeP+7PEzJcNINVKyz/FxAYpRM0joHFqqL+mXPHWlTUcOr/wc6rgp32vPuI0M2iilPAtD4ITRxZeC0KfOTP5fdc6haD9l/QIC02lzIEeO3N7o2oJ0naqmq/kbmW9kNCP4EnpgF7I0el6g64xJaWxmrMa7RyrIAJkZ2lFa+zpfleXWUnkwCjWZO23fkNwkh8UcwJMGJmOHiNaDKv4/qzwyN+8w==
Received: from CO6PR06MB7556.namprd06.prod.outlook.com (2603:10b6:303:a0::22) by BL0PR06MB4754.namprd06.prod.outlook.com (2603:10b6:208:58::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.10; Thu, 20 Jan 2022 09:42:49 +0000
Received: from CO6PR06MB7556.namprd06.prod.outlook.com ([fe80::c0c4:5ff6:9685:428a]) by CO6PR06MB7556.namprd06.prod.outlook.com ([fe80::c0c4:5ff6:9685:428a%6]) with mapi id 15.20.4909.008; Thu, 20 Jan 2022 09:42:49 +0000
From: "Slik, David" <David.Slik@netapp.com>
To: Julian Reschke <julian.reschke@gmx.de>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Feedback on draft-ietf-httpbis-safe-method-w-body-02
Thread-Index: AQHYBk6GIpuVXnrqSUSoZKmRJMCwPaxrjpWmgAASkACAAA/RdA==
Date: Thu, 20 Jan 2022 09:42:49 +0000
Message-ID: <CO6PR06MB755611A9D419FEAC4E36C70BE65A9@CO6PR06MB7556.namprd06.prod.outlook.com>
References: <CO6PR06MB7556DEBED9156324B1BC8360E6509@CO6PR06MB7556.namprd06.prod.outlook.com> <CO6PR06MB75567B02A53DEDDDCFE831BCE65A9@CO6PR06MB7556.namprd06.prod.outlook.com> <1595be96-bcf5-8443-0b74-0b1d319399a2@gmx.de>
In-Reply-To: <1595be96-bcf5-8443-0b74-0b1d319399a2@gmx.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=netapp.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 70d76a03-d8bb-4662-7b95-08d9dbf938ff
x-ms-traffictypediagnostic: BL0PR06MB4754:EE_
x-microsoft-antispam-prvs: <BL0PR06MB475462A33024FA4AA06A0C08E65A9@BL0PR06MB4754.namprd06.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: rEANvMGjbT87R1T9ZoztjF2ImE1HodZdu4NOwwD7cdNL9Txgl53+Lw2Y0TDDpZ9hqKkP5weD5SuAojNpHCdAL9xOCD0WX+Qqi/b4myyGEIi4qO07VDaQakWKvjqJ03BoTF+f3+Xfzh/LpHukrnb5e4iYJlamLqMk8rfJbobZO16JJoQVsfRN2+P9tIlAVbmP5E4TuEJixFlhm3jI/kyW+fBb1RF20Ey0EqVQKlB9OtPdwZBoiLXbWvBzRoKv46qCiFJzMP0TGX6i0fJNXgm5vsELEisa+FUDCuB0PWcv4y2TjAEVBrNYFD0EncqNnYMBhP8C0vORGLTE85AOZ9A6lss2esz1+JIei/P/q78oDL4JrPXGvxKKsNBHWXrwNiYmk1drUyY3OfsAfqjomzGtEI6EwRV4+wjIZVnlJl2DZKzCw9Gk2eqtr9H4URzrStWjfCdsDqSjwu3NgMc5ME3nXU0SESLh1lR54yrlV0VsVtD2mi2iaS9nRGVD+DumMOfkPqWuovLstLgCBUMbkif1AnAr+zY+g0wQiifAE61AUKAumqtTezfADAclIcohi4m0zZu/yEtTkoVQOhIAwUeWBULN2FWaHA9uAes5U5P3lsR+oZJBuPJSpoCW/4yPi/VpDirgJc24WWm9efVmXKSiHl/w9o+dJIjE0ikZwBkYDNeEsLiVtyi59vhThKR0hZMy9Gn0dtn8dunIptFIiX9GMCa307FQLJt8HvGFO7POsamko4gYw5HbZG1Vh73ctrGXORWErlKMMpG7yMYB51nS4jc7OFiROxk52irMvkuwdN0=
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO6PR06MB7556.namprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(166002)(55016003)(38070700005)(8936002)(83380400001)(19627405001)(5660300002)(38100700002)(122000001)(66946007)(2906002)(33656002)(66476007)(66556008)(186003)(64756008)(66446008)(76116006)(52536014)(6506007)(110136005)(9686003)(316002)(7696005)(26005)(508600001)(86362001)(8676002)(71200400001);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: nAoqL9A0wQjgt9k9FqiihxCpoO/UFmxlrmwMd43HagAQ+IHnGyIrz9MABnPTm8czRaTjtG0iq76sTjrwIPIc93b41jaXkK7rGc+QvoojYqtIFuJHyplYdb6Irv8S+9MMA0f1xdmjxOEhJopT/Tt4vRsKVZvHUiQj/Xk4C/Ia6rSWmBgbgFWR1KpT1Xx86stsMkp/xhgePghjrbCCNkyQIEZXtJJqD5ivirGloC33koY670wX6vM6BZ9ZQa6lcLQCvoox8qN33ChBmNqTFkRqnlEEQrQ8KQSTfQHr64vUQX7Ny1XY2mr5DYbSiLc9X+ScKXsgunB1a68p8V7HPgyaEQ1rblGMIsqpsuvthjjxUsf3ZFPC/DMXq8glGNkRBc/pRf45QB+a4U4GNLCoOS2+ARGuNLst1zEVv2XByBNRk+1rRrjGKjD2oLsZ9MZph4hIveJxV4cPir3PQC2eZKGjCOlAR8rhYNZHZ7/CH0+f5PXXc8ow9uQErgC2bA9aSgu6+5kKl8D3/F2kRyVP550w6AdUhQ2kGGe+aBrtgqyKYWAVIThs425fTDtKjKbLWwsbWZ7mVOQgWqkrWwZs+F8W/E4eDhGRWbRfMGPl+czMYXsJY3f6fqjTUAYcyhSj9kwZuuEaBnMLrLX4Ey43YXNlMUtDQ3S2XGgw57yhht+AOl0nOJPNGwezozpldbjBKOh6p0xj8i90E6285N1dZMhYzpL2EEkDV6++vvqq2qIQGN8pe1aDpZXJ00C7jvP4LJVidgUvoSbwTZVHJjmPlwIo4/GfF28l/rBehDzMWgEIGgXZP64WWVNNSXuCRNHfeR/9pDGH21l8zUC4O7tXQRW7/xwACxyP8dvfUCJtPKAFrapFxMziNXLLfd6RSWAiIcHRK9uqX58zLan+xwPXft9FePBOWPGb9kEOvfvvmH7p5B/4yzpISOiSoK7IBVG48VKI6EtuvlhxBzRUHIe1io6cdyDndCov47vYnzauFxrChdRRVlb5KaSHgDZ4NusU6NWtbO7q6nx77NtpGq6oNICgiFw0/bLSDlkGu5EOwlU0+No5LYA2itzh5QNFNuglagulbB2uFehJqIp0c/IJcyNaRuJ/8O6pvdTozeA6ISuu6aUwvtjN/MBLMbAoyeGBKcAMKimN12CgD/IfWCP7q0sAKyqof1uCOhEfHP5Nczt4JZHWU8rQ9cd5BeERB02e9M+j+25+V6Mblp7VOrPtzkQaA2/k4JLBLLtZhNs0GPl0vmyL66JtV9lN5Rv8gYI6/RwVyLWgH4zGjNeCEpJyF9lczrwrujYakD5uXQVMMn25ecwkCkjqqtqtWDcN1Htym9tQZNOSuL9gwk6QpBxrSZSEHsFeCqZqAgqeiY45gFETddDEk3ymnLRdF1V+KSBI9l/iGxMbiN3IFMBG9auonSsYClKYHwfKtgqjjzFHtJfBF0RYqUwZuJiGRte+XzjJ2idcsB4+dwqsthkUk3t1HySHm6YbwCdpAgV7Tp2BQgNA66e2InIcfRsDmXYkknkQlqWzU4ng0ZEJTo6KuMqzCImR5jFGYBbHn8cNwBZuk8AoWOysdPXsBfWBE9OCvi3PZhB/Q+RUBUwwKh5rL2ZZFh2mEO02CiPPXvbh0SFWahR0+U4=
Content-Type: multipart/alternative; boundary="_000_CO6PR06MB755611A9D419FEAC4E36C70BE65A9CO6PR06MB7556namp_"
MIME-Version: 1.0
X-OriginatorOrg: netapp.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CO6PR06MB7556.namprd06.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 70d76a03-d8bb-4662-7b95-08d9dbf938ff
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jan 2022 09:42:49.8149 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4b0911a0-929b-4715-944b-c03745165b3a
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: jFFhgHdeFryP9bYFLfm/YQqHqm1H25/8n9kDqiYnUZ3KOd5uh1W1P1kF+gtJuVGkZRQe5NaLlXaBPFMYelCVwA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR06MB4754
Received-SPF: pass client-ip=2a01:111:f400:7eab::61a; envelope-from=David.Slik@netapp.com; helo=NAM11-CO1-obe.outbound.protection.outlook.com
X-W3C-Hub-DKIM-Status: validation passed: (address=David.Slik@netapp.com domain=netapp.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-1.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_NW=1
X-W3C-Scan-Sig: titan.w3.org 1nATyD-0002AD-LY c0c44112f46ff17b75d85dedaa30e39f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Feedback on draft-ietf-httpbis-safe-method-w-body-02
Archived-At: <https://www.w3.org/mid/CO6PR06MB755611A9D419FEAC4E36C70BE65A9@CO6PR06MB7556.namprd06.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/39767
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>

>> The resource that a query method targets is often a representation of a
>> collection. As such, while technically correct, I would consider the
>> statement, "The payload returned in response to a QUERY cannot be
>> assumed to be a representation of the resource identified by the
>> effective request URI." to be a little strong. Perhaps, "The payload
>> returned in response to a QUERY*MAY*be a representation*other than*the
>> resource identified by the effective request URI."?
>
> Well, it will be something else most of the time. If it wasn't, we could
> just use GET, no?

Fair enough, as the above property (where the query response is the same media type as the default GET media type for the URI) is only true for some types of queries.

> "content" is the correct term as per
> <https://greenbytes.de/tech/webdav/draft-ietf-httpbis-semantics-19.html#content>.
> (But we could hyperlink that).

Guess I'm showing my 2616 age. :)

Thanks for the pointer to that draft. Nice to see all of the 723x RFCs, etc, being consolidated together.

>> Regarding, "It is important to note, however, that such conditions are
>> evaluated against the state of the target resource itself as opposed to
>> the collected results of the search operation.", when the target
>> resource is the collection, the conditions are evaluated against the
>> entire collection (not just against the resulting subset, as you
>> mention). This distinction may require additional elaboration.
>
> I don't see a contradiction here. Note that "collection" is something
> not defined in HTTP. If the target resource is a "collection", then yes,
> the condition is by definition evaluated against the state of that
> collection.

Agreed.

Queries involving a "collection" (being structured content, typically in XML or JSON, following a specific schema where multiple entities are stored) are a very common use case for query, so I'll re-read the draft and see there are any other suggestions around this use case that we may want to consider.

> I agree that more examples would be good. However, this would introduce
> a dependency on a draft that is likely to be finished farer in the
> future. Maybe there's a simpler-but-standardized JSON query language
> that we can use (optimally with a defined media type...).

Ah, I did not know that the timeline for draft-ietf-jsonpath-base was further out.

I will take an action item to draft another example based on something similar that is already approved.

Would you like me to open it as an issue in github, or send it to the mailing list for discussion first?

Thanks,

David Slik
Technical Director, Astra Platform
NetApp, Inc.