Re: Suggestions for HTTP/2, RFC 9113, Section 2.
Rupinder Singh <rupi.pal@gmail.com> Thu, 04 January 2024 09:04 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 33D64C14CEFE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 4 Jan 2024 01:04:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.758
X-Spam-Level:
X-Spam-Status: No, score=-2.758 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, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, 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] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 xB7LTg-KLzpJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 4 Jan 2024 01:04:45 -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 D7B55C14F6FE for <httpbisa-archive-bis2Juki@ietf.org>; Thu, 4 Jan 2024 01:04:44 -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 1rLJeT-00Dhj4-RW for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Jan 2024 09:04:33 +0000
Resent-Date: Thu, 04 Jan 2024 09:04:33 +0000
Resent-Message-Id: <E1rLJeT-00Dhj4-RW@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <rupi.pal@gmail.com>) id 1rLJeR-00Dhhy-SG for ietf-http-wg@listhub.w3.org; Thu, 04 Jan 2024 09:04:31 +0000
Received: from mail-vk1-xa30.google.com ([2607:f8b0:4864:20::a30]) by mimas.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <rupi.pal@gmail.com>) id 1rLJeP-00E6zW-S9 for ietf-http-wg@w3.org; Thu, 04 Jan 2024 09:04:31 +0000
Received: by mail-vk1-xa30.google.com with SMTP id 71dfb90a1353d-4b73e952ef2so64517e0c.2 for <ietf-http-wg@w3.org>; Thu, 04 Jan 2024 01:04:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704359066; x=1704963866; 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=3PovDVUNY3+Qx0ONvZ7NJ1gEmBMFd3ixbIzVXmAiGRI=; b=XsruRgC7ffVTyLUs71HccR2t/nLAxor3wOCJlcUB49eHZWJeUctgUWn9zWJ84bRMHV n8oNK4wjzjuXoGjezHKQHOrzim6YRTrWi4usZBRNbhsShuQAa372HCtTXUSZjZEL9Tdd 9jbhZ1GTzhtSCRcj65qFo9FtPt85+DG0oJCo6lk/ScQ4lVlsx2ir4l/Qk6ViFI06osk2 NSqrY5wAWbauqWYyUVRGbXUdDb+L1jdLaFGA6THQpZjYTHUT90W2oSc7SLJr580NqZJw oeRS5ohCG923XKF1FVrKUL1dLB0zqlT6CJ5s9bWU0UYaBMRo6/CjD1tv+uSwWcHm8dcP x60Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704359066; x=1704963866; 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=3PovDVUNY3+Qx0ONvZ7NJ1gEmBMFd3ixbIzVXmAiGRI=; b=mS9JdRTDq9OZTrTlqRFUs+SQG3y+HU+1IlyxNPIENH9Ji0aIZh4QL2cteFCxjCYRk0 R/qlvhKT6AV1EvkpRZWwtf7WQZ3hocc/jtmSE90Y9OXoHoCWL2WYJEFnrpxAQauX2Pl0 KO3d+297O93N2WYmXsws3sIKxbyoYXmnbKwXqEP4Idj/hsAvgQ9xzGZfdHMkBo6L6g/6 lc8AJ5OIVjoBMwEM4HlY+z27txjLIRjxMRRu8PaI2Vs0cDGiYz/Ak+aqTRt/7AV2joBZ XVU8SMO6QmS70visPEfnyhguqLhmRqIF4KP2LZVdar7ZCgCOMTaJQv/vjldeXZtdtVKk XPHw==
X-Gm-Message-State: AOJu0YyavcsfieOqU2XPNF586Q6MKnm0qwOCm82/S+5iBhemloCmY3mT /ibe3VbUnG6O+cWhVzpG6dfAHWyOp0p9gt5lG86L4nC78bnlXQ==
X-Google-Smtp-Source: AGHT+IGtbMnmoLv4erGMmfeCrf8Mz1jORa1m+j+ZAQQsZhYItNSPgwjyzQvrv9SZAMGNnYVE7ryrv9zswYFrP2HBa1c=
X-Received: by 2002:a05:6122:1c05:b0:4b6:cb66:778c with SMTP id et5-20020a0561221c0500b004b6cb66778cmr121243vkb.16.1704359066026; Thu, 04 Jan 2024 01:04:26 -0800 (PST)
MIME-Version: 1.0
References: <CAKguLS5KuNRH5=JHug=x-HJXUQX7VfwmAHwz+yvXUE+Y2QMShQ@mail.gmail.com> <0237bba0-b45a-4e14-aa77-9486d20fd938@betaapp.fastmail.com> <CAKguLS4kE8HfQmtvU9trTCU=68WmExv00T8dcDbAS8ixL7b47g@mail.gmail.com> <6be5746c-d73c-40cc-a5a9-f0dbc80b6982@betaapp.fastmail.com>
In-Reply-To: <6be5746c-d73c-40cc-a5a9-f0dbc80b6982@betaapp.fastmail.com>
From: Rupinder Singh <rupi.pal@gmail.com>
Date: Thu, 04 Jan 2024 14:33:49 +0530
Message-ID: <CAKguLS56s_6PM9V3pQspV7+op5ebUhpcXA9RoZqbBFO0-mzf5g@mail.gmail.com>
To: Martin Thomson <mt@lowentropy.net>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="000000000000b35023060e1b04fd"
Received-SPF: pass client-ip=2607:f8b0:4864:20::a30; envelope-from=rupi.pal@gmail.com; helo=mail-vk1-xa30.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=rupi.pal@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-4.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1rLJeP-00E6zW-S9 a2b938c4889c9e438e9bc9dd4d199dd9
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/CAKguLS56s_6PM9V3pQspV7+op5ebUhpcXA9RoZqbBFO0-mzf5g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51707
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 Martin, Thanks for the understanding. I think the application layer is defined by the URI standard & its resolution by the DNS standard. In the case of HTTP, if it is a client-server pair, it is only the server that needs a URI for carrying out an HTTP exchange. When we say in 9113, "connection: A transport-layer connection between two endpoints." , we need to clarify as to what are the endpoints here. Because, as far as a TCP connection is concerned, an IP address+TCP port pair is the endpoint & a corresponding socket is the corresponding proxy software abstraction. If the term endpoint in 9113 refers to an IP address+port pair, it doesn't refer to an HTTP client or server, as 9113 assumes ( "client: The endpoint that initiates an HTTP/2 connection. Clients send HTTP requests and receive HTTP responses." etc). If it refers to an HTTP client or server, it doesn't refer to the IP+port pairs & it can't refer to an HTTP client either because the client is not required to have a URI. In other words, when we say HTTP client or server, it is clear we are referring to application-layer things, which comply with the stateless HTTP, and thus don't maintain peer-to-peer connection-state or session-state. They initiate TCP connections at the lower layer & then complete an exchange on top of this connection sessionlessly or statelessly. An endpoint at the application layer is simply a URI (with the transfer scheme implicit), and additionally, by correspondence, may refer to the proxy software (e.g., a class) that abstracts the endpoint. I think, if we make that clear, we can see that HTTTP/2 sits in the layer between the application layer & the transport layer, which is also a normal characterization, e.g., TLS. Kind regards Rupinder Singh On Thu, Jan 4, 2024 at 12:24 PM Martin Thomson <mt@lowentropy.net> wrote: > On Thu, Jan 4, 2024, at 17:49, Rupinder Singh wrote: > > When we say HTTP (or HTTP 1.1) is > > stateless, we mean HTTP, at the application layer, admits no idea of > > session-state or connection-state; there could be connections at the > > lower TCP layer. > > I like this characterization. > > Yeah, I really don't know about the bit about "application layer". One > view says that the application layer is a broad and welcoming church that > accepts many things and that HTTP/2 is really just a component of HTTP, > which is very much an application protocol. Alternatively, you might > reasonably classify the mapping protocols (/1.1 and /2) as being somewhere > else in the OSI model. It's all a bit academic for me, really. >
- Suggestions for HTTP/2, RFC 9113, Section 2. Rupinder Singh
- Re: Suggestions for HTTP/2, RFC 9113, Section 2. Martin Thomson
- Re: Suggestions for HTTP/2, RFC 9113, Section 2. Rupinder Singh
- Re: Suggestions for HTTP/2, RFC 9113, Section 2. Martin Thomson
- Re: Suggestions for HTTP/2, RFC 9113, Section 2. Rupinder Singh