Re: Suggestions for HTTP/2, RFC 9113, Section 2.

Martin Thomson <mt@lowentropy.net> Thu, 04 January 2024 04:13 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=ietf.org@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 58A9BC14F6A8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 3 Jan 2024 20:13:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.756
X-Spam-Level:
X-Spam-Status: No, score=-7.756 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.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=lowentropy.net header.b="JZtMtTSA"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="JU9Qhr3l"
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 e7RACCYLELu2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 3 Jan 2024 20:13:08 -0800 (PST)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0D22EC14F6A0 for <httpbisa-archive-bis2Juki@ietf.org>; Wed, 3 Jan 2024 20:13:08 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1rLF6G-00DKgY-W4 for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Jan 2024 04:12:57 +0000
Resent-Date: Thu, 04 Jan 2024 04:12:56 +0000
Resent-Message-Id: <E1rLF6G-00DKgY-W4@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <mt@lowentropy.net>) id 1rLF6F-00DKfX-Cq for ietf-http-wg@listhub.w3.org; Thu, 04 Jan 2024 04:12:55 +0000
Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <mt@lowentropy.net>) id 1rLF6D-0015D9-94 for ietf-http-wg@w3.org; Thu, 04 Jan 2024 04:12:55 +0000
Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id B49583200C7A for <ietf-http-wg@w3.org>; Wed, 3 Jan 2024 23:12:48 -0500 (EST)
Received: from imap41 ([10.202.2.91]) by compute6.internal (MEProxy); Wed, 03 Jan 2024 23:12:48 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1704341568; x=1704427968; bh=BkUmQ39tQQ mrDKphXAHQ/37bwfUhBS01rIeiStDTjRI=; b=JZtMtTSAbW8L/+6Rx9rVPtC4Dr lInmc29bgCYnCkowEu8SPVQc60tuwLoivpiUV6QFFzSQ3W5ULaAJ+foy6vyPGF+1 MwllF05S5tt3+FU0+zHileUfg54KRGJjhvRMMUNnEuVSg8v7Gs8KeWs0s7d7d61W vAmC12y52nDbnemuuhyHKXsMQDazEWGC2269m4gwWJXLUwfFhTe/XB7kSmxCfQzJ 3G6sF6n6yKu2FhpuuJnHuc70z4un9vARjmBJ2pGdP4W1o8jwM8Ch0Vgr5omPuyiJ 0yVIi7LsyEnsmCgaVMGMIeRqi1HvU4htYe3lE25vlENj169hvogI7vXz9UNg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1704341568; x=1704427968; bh=BkUmQ39tQQmrDKphXAHQ/37bwfUh BS01rIeiStDTjRI=; b=JU9Qhr3lEAhjzPoP+iOiNbNd0pbdRWviPxOMNKRUgAFz vWSSkpCJWhOpoNLSR8ReDIo07kMEMF3w86qzDaukw3TGiG7NmaVRRRp/4ulrVNDy E+goHXGDurYOOf1xExLQ3xeVLsPXXaudFCiEkgc7VCcqEAqrxtvWBg9KMwCB1VTH X8jfuxFk92tD4tZ5iTyTSsw9yu49RU6+RGz0ou5Y8tYRxi4SpjTqxclBaPp85N1W oCzBBUS1ZSxoExSCjO+1Z6xkZmtLftl405b15pwPDXdsPJS7YvjX1qHfnsZs5u/7 tHQwYjg7HhuIMercdTpI8SPTJtcfLxRckDX+XGbqIQ==
X-ME-Sender: <xms:QDCWZfAQh8Ge4WmibBC-dTVzMWcD4MeoNa_Bca8mOqIEZECPbOf4ig> <xme:QDCWZVjy78R8cpJ8PiHmVKk0J8ttPUjFjaoFwjk4UOq6SA8UMfh2dnSbpSUeESlmk 7MJstd1BMxwoZCsR_Q>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdegiedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfofgrrhhtihhnucfvhhhomhhsohhnfdcuoehmtheslhho figvnhhtrhhophihrdhnvghtqeenucggtffrrghtthgvrhhnpeeklefhgfekfeekteeuie evffduieegfeffteevjeetvdfftdettddutdevgfekkeenucffohhmrghinhephhhtthhp uhhsvghsrdgrshenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehmtheslhhofigvnhhtrhhophihrdhnvght
X-ME-Proxy: <xmx:QDCWZamXZR7CyW2jGOtxIFIGZgcOp88BA46kbPDMY3SblhAJrsXukA> <xmx:QDCWZRzVMtoeqrhEa4b9QerhUq-a3gW4-wQvHdmJjFtQxeNN0MNwKw> <xmx:QDCWZUSpL404xlyy72zP8dtIx-lEdnYu9oDd2EJY5S60gydVyaoBdw> <xmx:QDCWZbep7uSa3H_5kOVXjG-_eEfwCDIMhxH72n4bCKEMtvtsEKldrA>
Feedback-ID: ic129442d:Fastmail
Received: by mailuser.nyi.internal (Postfix, from userid 501) id E6BB12340080; Wed, 3 Jan 2024 23:12:47 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.9.0-alpha0-1364-ga51d5fd3b7-fm-20231219.001-ga51d5fd3
MIME-Version: 1.0
Message-Id: <0237bba0-b45a-4e14-aa77-9486d20fd938@betaapp.fastmail.com>
In-Reply-To: <CAKguLS5KuNRH5=JHug=x-HJXUQX7VfwmAHwz+yvXUE+Y2QMShQ@mail.gmail.com>
References: <CAKguLS5KuNRH5=JHug=x-HJXUQX7VfwmAHwz+yvXUE+Y2QMShQ@mail.gmail.com>
Date: Thu, 04 Jan 2024 15:12:28 +1100
From: Martin Thomson <mt@lowentropy.net>
To: ietf-http-wg@w3.org
Content-Type: text/plain
Received-SPF: pass client-ip=64.147.123.24; envelope-from=mt@lowentropy.net; helo=wout1-smtp.messagingengine.com
X-W3C-Hub-DKIM-Status: validation passed: (address=mt@lowentropy.net domain=lowentropy.net), signature is good
X-W3C-Hub-DKIM-Status: validation passed: (address=mt@lowentropy.net domain=messagingengine.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-9.8
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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1rLF6D-0015D9-94 44cf37215a1a1156eee1b2025996a8f3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Suggestions for HTTP/2, RFC 9113, Section 2.
Archived-At: <https://www.w3.org/mid/0237bba0-b45a-4e14-aa77-9486d20fd938@betaapp.fastmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51704
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>

Hi Rupinder,

I think that perhaps you are looking at this more broadly than the document intends.

HTTP/2 is a protocol between an HTTP client and server, as opposed to user agent or origin server or proxy or intermediary (or any of those terms that HTTP uses).  As a definition of a single "hop", using connection-oriented is entirely appropriate.  For instance, while HTTP itself is stateless, HTTP/2 uses a connection-oriented method to convey HTTP semantics.

A lot of the older HTTP literature did not properly distinguish between HTTP in general and the specific HTTP/1.1 protocol.  A lot of that has been carefully cleaned up with the publication of RFC 9110, so I'd encourage you to read the document with that in mind.

Cheers,
Martin

On Sat, Dec 30, 2023, at 04:56, Rupinder Singh wrote:
> Hello,
>
> Most respectfully. I've the following suggestions w.r.t.  HTTP/2, RFC 
> 9113, Section 2. 
>
> 1. "HTTP/2 is a connection-oriented application-layer protocol..."
>
> HTTP/2 is a stateless application-layer protocol...
>
> 2. Sub-section 2..2. The term "endpoint" may not be equated with a 
> client or server. The term endpoint refers specifically to a URI at the 
> application layer. By extension/overloading, it also refers to the 
> proxy software ( e.g., class) abstracting the endpoint. It can't refer 
> to the client IP address + port  or to the server IP address+port that 
> actually sets up the TCP connection at the transport layer. And  a 
> typical web client like a user agent/client (e.g. browser) doesn't have 
> a  URI.  Yes, maybe, the term endpoint can be used for the addresses of 
> the other stateless protocols, e.g., simply, an IP address at the IP 
> layer.
>
> 3. In the traditional HTTP 1.1 literature as well as software 
> documentation, the term HTTP connection or HTTP session are used. 
> However, from the context, it is clear that they refer to the 
> connection/session at the TCP layer, not at the the HTTP/application 
> layer itself, where communication exchange is 
> stateless/connectioness/sesssionless (simply Request-Response; or 
> additionally a Server push as in HTTP/2). We may clarify the 
> terminology in this RFC accordingly.
>
>
> Kind regards,
> Rupinder Singh