Re: Method Mania

Josh Cohen <joshco@gmail.com> Sat, 03 August 2024 00:49 UTC

Received: by ietfa.amsl.com (Postfix) id A367EC151089; Fri, 2 Aug 2024 17:49:18 -0700 (PDT)
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 A2A15C14F6E9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 2 Aug 2024 17:49:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.856
X-Spam-Level:
X-Spam-Status: No, score=-7.856 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=w3.org header.b="igBUmLQA"; dkim=pass (2048-bit key) header.d=w3.org header.b="JGKsddNu"; dkim=pass (2048-bit key) header.d=gmail.com header.b="msicnuLJ"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fv011sI95DCY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 2 Aug 2024 17:49:15 -0700 (PDT)
Received: from mab.w3.org (mab.w3.org [IPv6:2600:1f18:7d7a:2700:d091:4b25:8566:8113]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D3480C14F61B for <httpbisa-archive-bis2Juki@ietf.org>; Fri, 2 Aug 2024 17:49:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:Content-Type:Cc:To:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To; bh=Njp2C13dfhuUU3kkDQhtXpqDKwAxh6mUjEeW9Q4XCZw=; b=igBUmLQAw3oYrAfTXsC/BnAZbn Bid8m0GbU6KbS00LJm6vRN9SaJbaNkJHdoYZ227lJWNgzOIaW/5K3l6g8py05MqRL6LqJ4JsQUH6I /8mKzMGaN2iwT9g31/h8s1qf1ScEbeOsed5qvlstpZ4cmdtM/34zVq8YQBOqv8N27g7sV5Pv4vVhH 1xrCYsWvH9eLMtLJjSxbD2xx7C7RqJezBwPIivUXRuEWpAzu9N8OEu4lI2THyL2i1q3OzXtxIycvP KwwPuDDEusrVzjXhYMWqXaJtM5c+3RR54lSSPf7tHI+DlgxnM+B/bGLsP1Jx5T88YpalAXx5EpHfd XywZDGSw==;
Received: from lists by mab.w3.org with local (Exim 4.96) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1sa2wR-00CWu6-14 for ietf-http-wg-dist@listhub.w3.org; Sat, 03 Aug 2024 00:48:15 +0000
Resent-Date: Sat, 03 Aug 2024 00:48:15 +0000
Resent-Message-Id: <E1sa2wR-00CWu6-14@mab.w3.org>
Received: from ip-10-0-0-224.ec2.internal ([10.0.0.224] helo=puck.w3.org) by mab.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <joshco@gmail.com>) id 1sa2wN-00CWdO-30 for ietf-http-wg@listhub.w3.internal; Sat, 03 Aug 2024 00:48:11 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To; bh=Njp2C13dfhuUU3kkDQhtXpqDKwAxh6mUjEeW9Q4XCZw=; t=1722646091; x=1723510091; b=JGKsddNujmD0k+HPABzr9Ejo5nc5b6EwF6FeXpaGOd0q+gOSc+y6eJJiMqSoSyOUgAvWcLH9KX0 a2+NQNQ72RDWdOoqAtDCyKrgC83I4wPwNLSuc1ctthOb5/oPxzTuyKRk1zFq7k13FIFNDFM2kLjQW cdjz84/i+2ulege1DwUqz5AjsNmF2qGPjP1jE/uOBe7No3MZnXJvBakICwCA8tyTmj/BZX9p/AgeQ 6Np+cgf42gvrPEhc3JkWpPGJnGAJ5TSDxuHArI6m7cvckdxYvmNn1yxfKEHS1NL4ItNj/mOTilbbg JiRnIOuAqDdgVIJ83q2lEkiuPsReptEs/ayQ==;
Received-SPF: pass (puck.w3.org: domain of gmail.com designates 2001:4860:4864:20::32 as permitted sender) client-ip=2001:4860:4864:20::32; envelope-from=joshco@gmail.com; helo=mail-oa1-x32.google.com;
Received: from mail-oa1-x32.google.com ([2001:4860:4864:20::32]) by puck.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <joshco@gmail.com>) id 1sa2wN-007WBh-0e for ietf-http-wg@w3.org; Sat, 03 Aug 2024 00:48:11 +0000
Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-2689f749702so675133fac.3 for <ietf-http-wg@w3.org>; Fri, 02 Aug 2024 17:48:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722646087; x=1723250887; darn=w3.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Njp2C13dfhuUU3kkDQhtXpqDKwAxh6mUjEeW9Q4XCZw=; b=msicnuLJtbezZmMS0Pb8bxxEGbMeQjZXNVVTOZwBPFLwo4JEKuugS3HBDuhBIL3wyo rQBpkHorVjz2VhtMCXTGvvIgPtkHu7fMUSlREdMxAqqs9Q37KF4GoqqEn7VBGjsM/I4F Aa9pCxVaXHLH7GWpgD3V05gcA7a5yn+pidMoUW7nHSnrR+YRS8fJuZkZs4oxAKXzstVO XJH995au+WXxc++6EFpKUs8Gp6Ap/s43zLmNPA4jR/jrT089sXNG6ZT++I7nouamYt9d 8pNyYkxla/LVwgJduwoNT/i183fbZAF0jfeIYewRlUpBlJFBfP8aE88jgapER2n8v7P6 Nzlw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722646087; x=1723250887; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Njp2C13dfhuUU3kkDQhtXpqDKwAxh6mUjEeW9Q4XCZw=; b=prrB3ALED0rIUVZG6o0wyeEFY4b5uJQa3UKcj/hWvqszlRxaRc7sj/iOj+kzSmZXRZ 4z+BZEku3Aguw2l4VNyZk+N/2J1AhXCuJZGX0AM/f4jgYHTd/EYQldyxkqzLg8Q4tX0o HfbWI3p1LO7fu2bGE4hEkgAJj8gDEVixOdEU6GeME3YOnLJUMkAj2mHF6/ts/Vh0WaJK nhxrfk5YrePTZumSG7p3Q3zYBLSnkuCz/m65AYHaWAOaNWg6qbbppsGIfX8lyepZP3lu JlRv7RVJzLmzM1QTNgqZVorZNnMVhy9I8S+MngXnmskbVPeBNY8Aye/lbCa/LulRFm8U Y8xQ==
X-Forwarded-Encrypted: i=1; AJvYcCVHwPd+sTScsaI2jq+fCIKC1e/WYY9P1pTFZshGcl8c50ZqLy7TcxLQFnU0q0eoidI5bMrDzPah6J8I0y9ECCaQDXIl
X-Gm-Message-State: AOJu0YxZasz2zBqg+wgcKW8sQyGICWrWdQOioBHhXTnabXZy9kml9CE4 SirPUSQUACzP8xNy9YYRG4ZcydneZmiirOOyYXLUVAPzyEqQqvZAMXxbT4JoLelK/xItI54hAxw 9AC6DuY1Au4pqEL9V824tVr5XZ84=
X-Google-Smtp-Source: AGHT+IHYMTQ8Aoa4Mc3gjzdI+1rWCirDQBZDeX+GWuHQIjdnnGDawgksd8BsL7xWHaYlDcI3o9nN1cdTE37KwGZYtGM=
X-Received: by 2002:a05:6870:1641:b0:24f:c9e3:b76f with SMTP id 586e51a60fabf-26891af7192mr5904079fac.19.1722646087417; Fri, 02 Aug 2024 17:48:07 -0700 (PDT)
MIME-Version: 1.0
References: <CAF3KT4QZzx+FXOUHZoy+gPqJjQ+4KdOC+_29vbUANNtZQS4c+A@mail.gmail.com> <ba56fad8-e121-4c06-9a2d-783ef82471e0@gmx.de> <CAJV+MGz8hUTqar51V9wV=WPnWETDK+ECjWCTXYS92xXM5HEF_w@mail.gmail.com> <cd25a358-1e8a-43b7-ba61-3d16ad28b1e4@gmx.de> <CAF3KT4Q=ezzA2aCHyPg=k583n6vP4gTGP+wxKz+sQezD=GnowQ@mail.gmail.com> <CAJV+MGxH4wPK__Z4mGfD3j-KaHpSVjQBFLyM1u+ZwfaSsZGMRQ@mail.gmail.com> <247701dae3b2$a1ea1f50$e5be5df0$@gmail.com> <CAJV+MGwZmeAhxK9ooOXJr_jdkqN-Mk_oLS8pWAsdTSCwToaAdg@mail.gmail.com> <CAF3KT4Qaw+0LJtgL5=+ojOsmpgz2SUa1=Oz6QTA2=xE6Fy-KMw@mail.gmail.com> <026321eb-057c-4f5c-9e2a-4d4b7b290a2d@gmx.de> <CAF3KT4Tm4wHRi3J6A2JEb2329o=prBh4UiUVx_eqOUVkN-ZoiA@mail.gmail.com> <CACweHNBsv_P7iA=7Q3RNpxPhof5vC7DyjbsCsD1KPATwjgY7hA@mail.gmail.com>
In-Reply-To: <CACweHNBsv_P7iA=7Q3RNpxPhof5vC7DyjbsCsD1KPATwjgY7hA@mail.gmail.com>
From: Josh Cohen <joshco@gmail.com>
Date: Fri, 02 Aug 2024 20:47:56 -0400
Message-ID: <CAF3KT4TfLXXFDiH8ESQwA9FF+5SCZ4ZbcV5xbZ+1Zy708cjhfg@mail.gmail.com>
To: Matthew Kerwin <matthew@kerwin.net.au>
Cc: Julian Reschke <julian.reschke@gmx.de>, Patrick Meenan <patmeenan@gmail.com>, cxres@protonmail.com, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="0000000000001d4648061ebccce0"
X-W3C-Hub-DKIM-Status: validation passed: (address=joshco@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-6.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, DMARC_PASS=-0.001, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: puck.w3.org 1sa2wN-007WBh-0e 2b8ed2f43cf4e169f25fb443d6e30ef1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Method Mania
Archived-At: <https://www.w3.org/mid/CAF3KT4TfLXXFDiH8ESQwA9FF+5SCZ4ZbcV5xbZ+1Zy708cjhfg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/52183
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/email/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Thanks Matthew, that's good advice.


On Fri, Aug 2, 2024 at 7:10 PM Matthew Kerwin <matthew@kerwin.net.au> wrote:

> On Sat, 3 Aug 2024 at 05:49, Josh Cohen <joshco@gmail.com> wrote:
> >
> > Thanks for the clarification.  Looking at the http2 rfc9113[1], bottom
> of section 8.3.1, says:
> > "Individual HTTP/2 requests do not carry an explicit indicator of
> protocol version. All HTTP/2 requests implicitly have a protocol version of
> "2.0""
> >
> > So, there's no longer an explicit version string, or header.
> >
> > The reason I asked was when considering new methods.  The option of
> revving the version of the messaging/semantics layer isn't feasible.
> >
> > https://datatracker.ietf.org/doc/html/rfc9113#section-8.3.1
> >
>
> I'd do it the same way I would in HTTP/1.1 – either
> 1. send ":method: FOOBAR" and see what the server does, or
> 2. use OPTIONS. Either check that 'FOOBAR' is in the Allow field, or
> if I want more rich capability/compliance advertisement, send a
> "X-WantToUse-Foobar: 1" header field, and have the server signal its
> compliance appropriately
>
> That would always have been safer than just assuming a server that
> responds to "GET / HTTP/1.2" actually paid heed to the "2"
>
> Cheers
> --
>   Matthew Kerwin [he/him]
>   https://matthew.kerwin.net.au/
>


-- 

---
*Josh Co*hen