Re: Method Mania
Josh Cohen <joshco@gmail.com> Sat, 27 July 2024 21:41 UTC
Received: by ietfa.amsl.com (Postfix) id 42214C14F6AA; Sat, 27 Jul 2024 14:41:40 -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 3B30FC14F61B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 27 Jul 2024 14:41:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.859
X-Spam-Level:
X-Spam-Status: No, score=-2.859 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=w3.org header.b="QrZCAfx0"; dkim=pass (2048-bit key) header.d=w3.org header.b="JSJUJPJB"; dkim=pass (2048-bit key) header.d=gmail.com header.b="hA7d/DRt"
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 4PWr0LfXxdqM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 27 Jul 2024 14:41:39 -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 7BC09C14F600 for <httpbisa-archive-bis2Juki@ietf.org>; Sat, 27 Jul 2024 14:41:39 -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=wBtWFfl06x63KcFtNxPJ0hWyYJJC47dZgJoJZSYX0dE=; b=QrZCAfx05OtOU5/vz2EB2cEaCc o/Fsw+bx9o1/x4HOhK9LB6PyGFNW/vv5+KbC7ev1SdTpiIVj1j8ejrjZJde7+JmFv+XG6aIU3apDK AfLcl1VYHZG+/DSKQ8pWLUNXKswEN9GLy4sw22N8tuu899MVu7RejAMgTprNHgq/qa+HC1aZC9d3I 3FJA+tbhodu1JXQwe6YVz8e090W41InrpWR/oqwBSRoHWeO7/Dmyjr3tsMoCZO8bm6pqcQi/KRzS8 7yGyKuFNxbtZB2Vtpo8uNXLrcDY4cy3nDZi0FMYfsmKw/k5kUuY37q8gBAQKYqY4eqxZ3fWN6Iejd bWc8+2PQ==;
Received: from lists by mab.w3.org with local (Exim 4.96) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1sXp9a-00C2sB-0n for ietf-http-wg-dist@listhub.w3.org; Sat, 27 Jul 2024 21:40:38 +0000
Resent-Date: Sat, 27 Jul 2024 21:40:38 +0000
Resent-Message-Id: <E1sXp9a-00C2sB-0n@mab.w3.org>
Received: from ip-10-0-0-144.ec2.internal ([10.0.0.144] helo=pan.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 1sXp9Y-00C2rC-10 for ietf-http-wg@listhub.w3.internal; Sat, 27 Jul 2024 21:40:36 +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=wBtWFfl06x63KcFtNxPJ0hWyYJJC47dZgJoJZSYX0dE=; t=1722116436; x=1722980436; b=JSJUJPJBhidiwHJJ8OcPDU/cDij0GG1PKgWcYfeLCT08XqyhWvToX0J0uuMOfl1/TYFKEH/R/rD Msc7JmWaSz5L9ysBU/sC9WL9wL/FnQrsnH3dZT0fBgIBN82cVMxpeNRwJ6EWP+gimHTKCh+HXw4TW BGKZfFv8Sgrig8kS74Zx4uUK5TTnZ+gQF/JndHskQ51MEWAh6AseK4eJMr2AJSwCwejUTsS0n14aE X4/NJokV6LPu3vdoltY5JX/UxGOrWcIFj1eNUEnG2Deix+YiXogflEYdx0GOmtFm7L2OhZzvO6+7y iUn4xh9YpXloZovEdQXWYsi3sYf7zbFarFYQ==;
Received-SPF: pass (pan.w3.org: domain of gmail.com designates 2607:f8b0:4864:20::c34 as permitted sender) client-ip=2607:f8b0:4864:20::c34; envelope-from=joshco@gmail.com; helo=mail-oo1-xc34.google.com;
Received: from mail-oo1-xc34.google.com ([2607:f8b0:4864:20::c34]) by pan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <joshco@gmail.com>) id 1sXp9W-00DiGV-1k for ietf-http-wg@w3.org; Sat, 27 Jul 2024 21:40:36 +0000
Received: by mail-oo1-xc34.google.com with SMTP id 006d021491bc7-5c6661bca43so1336994eaf.0 for <ietf-http-wg@w3.org>; Sat, 27 Jul 2024 14:40:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722116431; x=1722721231; 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=wBtWFfl06x63KcFtNxPJ0hWyYJJC47dZgJoJZSYX0dE=; b=hA7d/DRtX+Nc8rJIEBmUpuZcHNHfEymE5Qx23u0MHHRboEai+iSi2E2258Xcab7wW/ AU8Ec6RQlpLI8q+so6uCia0vinapa52kpA2Zty+F5Ok2yey9u77HYjJcxsFEWGR5msJ8 6j0vlwRjZZfk7n3Q8yo1m71C9Ztz73W4q+K0ax3ESGeEqyf14jUNa1g57s5jSERWexmn WdDc9/2Ge71s0LrHMSJA2WsBQVMBQYQyOX6Z/MezxNsg3FpbnSCykUgXDfsdZW7H0Crb qb/vsNlGfgj8xRibULCY6iCX5J0Gjipi4/emq/11ZNQ62+JyTtoJBvb2oRxf2VhMzqRB Aceg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722116431; x=1722721231; 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=wBtWFfl06x63KcFtNxPJ0hWyYJJC47dZgJoJZSYX0dE=; b=jruWtbXefS9HkQrU2UkDzqkVFmnhTBrH5cDoJ0xKLo8l7H463MHrot++YL/RKlZ+vT 4ge2s86dpwnct5rHP5OJDZ972l8Z6BgudhXm9Q7Soncwhh4mZo3YTlIw0UIuN57XKwpo 8+lOqef1E9vWk70AH4qQ/BISVw0W7ePY0OAA+U8elNvPR3plJad4FXKclSYqkq4frsGc 5UjcBTwHPdvcgVhBGkLDS5deXAf3YS4gLuTjuKxvFDhm30vDLJkuld9iT8VaJa5+c7/m ttktJMYzaXXD+YTAWKkRleRGM2Vnxqxkm4gOzMcPUokjce6rVEblln9NgU9+Q1skBRPs guvg==
X-Gm-Message-State: AOJu0YwuoHiyy++VEhOlBMKLi0G5olKLiNu6DRzQ6XnzYHPl1mJcbpBl S4QLMFj9VWZD3zMJUYSRy7TQ21325T4b1LApehrDIXUxKta/zyOwJ5jdvkmkeUACkTYhHXgMHhK cCwTAfpZwSOG4i1PNUq7BiL4mqNoat46jl1E=
X-Google-Smtp-Source: AGHT+IFFdx13+G4Cv9oXAMXiQa1NUF4tDcOAvPArYHHknY9+g8BxcV92k4CWvKFCMg7EbcDZmjXZf+7Uv1mTrlJh3mg=
X-Received: by 2002:a05:6820:613:b0:5c4:13c0:f03f with SMTP id 006d021491bc7-5d5d0f1e732mr4187842eaf.6.1722116430722; Sat, 27 Jul 2024 14:40:30 -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> <cad0ce47-71fe-4e06-b225-3b11c287a18b@gmail.com>
In-Reply-To: <cad0ce47-71fe-4e06-b225-3b11c287a18b@gmail.com>
From: Josh Cohen <joshco@gmail.com>
Date: Sat, 27 Jul 2024 14:40:19 -0700
Message-ID: <CAF3KT4TF8v9eC979bt9ChWpUpWBOpdvpR0XRfaDcb=aZ6KjTNw@mail.gmail.com>
To: "Soni L." <fakedme+http@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="0000000000001d7fee061e417a3f"
X-W3C-Hub-DKIM-Status: validation passed: (address=joshco@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-5.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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: pan.w3.org 1sXp9W-00DiGV-1k 4a3ce260b4ffc2445670c91c7c4cbc48
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Method Mania
Archived-At: <https://www.w3.org/mid/CAF3KT4TF8v9eC979bt9ChWpUpWBOpdvpR0XRfaDcb=aZ6KjTNw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/52158
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>
I was using "safe" in the narrow scope of methods. Patrick's point may still apply if middle boxes only support pre-defined methods. To avoid mixing connection semantics, a subscribe request (regardless of http method), could return subscription information that includes how the client receives notifications. For example, it could return a websocket address that the client connects to in order to receive a stream of updates. In the case of HTTP/3, a server-client stream could be set up. This is how the SUBSCRIBE method in gena/UPNP work. It just sets up the subscription and notification paths, but doesn't handle the notifications themselves. If the GET (or any preexisting) method is used, perhaps a content type could be listed in the Accept header such as application/subscription+json. If the server receives that, it could respond with a braid defines JSON message that contains the relevant notification stream. On Sat, Jul 27, 2024 at 8:04 AM Soni L. <fakedme+http@gmail.com> wrote: > > > On 2024-07-27 11:44, Patrick Meenan wrote: > > > > On Sat, Jul 27, 2024 at 4:23 AM Julian Reschke <julian.reschke@gmx.de> > wrote: > >> On 26.07.2024 00:27, Josh Cohen wrote: >> > On the httpwg agenda at IETF 120 were a proposal for a new QUERY method >> > and Braid, which has subscription functionality that overloads the GET >> > method. >> > >> > What I am curious about is if, at this point in the evolution of the >> > web, it is now safe to add new methods for new functionality. I've been >> > reading up on HTTP/2/3 and it seems that nowadays, connections are >> > end-to-end secure and are essentially tunneled through middle boxes, >> > including HTTP/1.1 proxies. I'm still just wrapping my head around >> > MASQUE, but it looks like it can handle arbitrary methods. Similarly >> > origin servers have evolved to support arbitrary methods. >> >> It always has been "safe", when https was used. > > > https is not "safe" in practical terms because of middleboxes that > intercept the connections. It is very common in enterprise deployments > where they install local trust anchors on the client devices and use mitm > software to inspect the traffic. > > Even HTTP/2 is not necessarily "safe" as we are seeing with the deployment > of compression dictionaries as there are enterprise mitm devices that > inspect HTTP/2 traffic as well (and in our case, reset connections when > they see a content-encoding they don't understand). > > The better question is under what circumstances do we want to allow those > devices to "break" and force them to fix the implementations? HTTP/S (or > just H/2/3 if you want to be less intrusive) could be considered reasonable > because the proxies are under the control of the site (CDN) or environment > where they are being run (enterprise) and there's not random gear spread > elsewhere in the Internet that needs to be tracked down. The site-level is > generally easy (don't use the new features on a given site if the serving > path doesn't support it) but cleaning up the enterprise ecosystem can be a > nightmare and a much bigger case of whack-a-mole. > > The alternative (that Chrome uses for HTTP/3) is to only use the new > feature when the connection is TLS-anchored to a well-known trust root (no > middleboxes on the client end) but that is allowing some portion of the > Internet to continue to operate "broken" infrastructure. > > Maybe use an IPv6 EH for non-well-known trust roots to claim support? :) > > (only half-joking, but it might help improve EH support.) > -- --- *Josh Co*hen
- Method Mania Josh Cohen
- Re: Method Mania Julian Reschke
- Re: Method Mania Josh Cohen
- Re: Method Mania Soni L.
- Re: Method Mania Patrick Meenan
- Re: Method Mania Josh Cohen
- Re: Method Mania Soni L.
- Re: Method Mania Julian Reschke
- Re: Method Mania Josh Cohen
- Re: Method Mania Patrick Meenan
- Re: Method Mania Rahul Gupta
- Re: Method Mania Watson Ladd
- RE: Method Mania joshco
- Re: Method Mania Patrick Meenan
- Re: Method Mania Josh Cohen
- Re: Method Mania Julian Reschke
- Re: Method Mania Josh Cohen
- Re: Method Mania Josh Cohen
- Re: Method Mania Matthew Kerwin
- Re: Method Mania Josh Cohen
- Re: Method Mania Julian Reschke
- Re: Method Mania Josh Cohen
- Re: Method Mania Daniel Veditz