[core] Re: Unsupported conditional query parameters in a request (draft-ietf-core-conditional-attributes-11)
Christian Amsüss <christian@amsuess.com> Thu, 20 March 2025 08:01 UTC
Return-Path: <christian@amsuess.com>
X-Original-To: core@mail2.ietf.org
Delivered-To: core@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 69A90F72409 for <core@mail2.ietf.org>; Thu, 20 Mar 2025 01:01:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VHQ-u75jysse for <core@mail2.ietf.org>; Thu, 20 Mar 2025 01:01:27 -0700 (PDT)
Received: from smtp.akis.at (smtp.akis.at [IPv6:2a02:b18:500:a515::f455]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 19093F723F9 for <core@ietf.org>; Thu, 20 Mar 2025 01:01:26 -0700 (PDT)
Received: from poseidon-mailhub.amsuess.com (095129206250.cust.akis.net [95.129.206.250]) by smtp.akis.at (8.18.1/8.17.2) with ESMTPS id 52K81OTY082821 (version=TLSv1.2 cipher=ECDHE-ECDSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Mar 2025 09:01:24 +0100 (CET) (envelope-from christian@amsuess.com)
X-Authentication-Warning: smtp.akis.at: Host 095129206250.cust.akis.net [95.129.206.250] claimed to be poseidon-mailhub.amsuess.com
Received: from poseidon-mailbox.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bf]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id EFEEC529FC; Thu, 20 Mar 2025 09:01:23 +0100 (CET)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:8a3b:b95d:e7f6:a492]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id 8CC6745E86; Thu, 20 Mar 2025 09:01:23 +0100 (CET)
Received: (nullmailer pid 534454 invoked by uid 1000); Thu, 20 Mar 2025 08:01:23 -0000
Date: Thu, 20 Mar 2025 09:01:23 +0100
From: Christian Amsüss <christian@amsuess.com>
To: Esko Dijk <esko.dijk@iotconsultancy.nl>
Message-ID: <Z9vLU-LHi3AMQQ7U@hephaistos.amsuess.com>
References: <DU0P190MB19789ECEC41820D6EAB100BCFDD92@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="WEE3qABjeW0+R8ra"
Content-Disposition: inline
In-Reply-To: <DU0P190MB19789ECEC41820D6EAB100BCFDD92@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
X-Scanned-By: MIMEDefang 2.86
Message-ID-Hash: VNISSHXQXZT5NJQVL5D3YEKFXMPZNIJ6
X-Message-ID-Hash: VNISSHXQXZT5NJQVL5D3YEKFXMPZNIJ6
X-MailFrom: christian@amsuess.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-core.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: core <core@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [core] Re: Unsupported conditional query parameters in a request (draft-ietf-core-conditional-attributes-11)
List-Id: "Constrained RESTful Environments (CoRE) Working Group list" <core.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/eigv7vc4Soi84oBjP3MvbfNRkfY>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Owner: <mailto:core-owner@ietf.org>
List-Post: <mailto:core@ietf.org>
List-Subscribe: <mailto:core-join@ietf.org>
List-Unsubscribe: <mailto:core-leave@ietf.org>
On Wed, Mar 19, 2025 at 10:04:31AM +0000, Esko Dijk wrote: > And in general, a CoAP server may just ignore unknown query parameters and serve the resource.) This is not the case, the Uri-Query option is critical. Several HTTP servers have chosen to implement things that way, to the point where clients started relying on that behavior and now pass their tracking information in there, but so far, this behavior has not gained a foothold in CoAP, and I hope that it can't -- many servers I've seen do reject unknown query parameters. Any concrete specification is free to describe that its resource must accept unknown query parameters, and RFC6690 and RFC9176 do that for some of their resources, but that's up to that spec. conditional-attributes may make any statement about `c.*` parameters, and I appreciate that it started namespacing its parameters as to not step onto the toes of other specs with which this might eventually be combined, but this is something where conditional-attributes has the choices -- from a CoAP point of view, even `/foo` and `/foo?` are distinct, as is `/foo?bar&qux` from `/foo?qux&bar`. BR c -- I shouldn't have written all those tank programs. -- Kevin Flynn
- [core] Unsupported conditional query parameters i… Esko Dijk
- [core] Re: Unsupported conditional query paramete… Christian Amsüss
- [core] Re: Unsupported conditional query paramete… Esko Dijk
- [core] Treating unknown query parameters (was: Un… Christian Amsüss
- [core] Re: Treating unknown query parameters Achim Kraus
- [core] Re: Treating unknown query parameters Christian Amsüss
- [core] Re: Treating unknown query parameters (was… Esko Dijk
- [core] Re: Treating unknown query parameters (was… Christian Amsüss
- [core] Re: Treating unknown query parameters Achim Kraus
- [core] Re: Treating unknown query parameters Carsten Bormann
- [core] Re: Treating unknown query parameters (was… Esko Dijk