Minor fix to ellipses in binary-messages

Martin Thomson <mt@lowentropy.net> Thu, 26 May 2022 00:03 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 46297C3A3D79 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 May 2022 17:03:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.749
X-Spam-Level:
X-Spam-Status: No, score=-2.749 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.248, MAILING_LIST_MULTI=-1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, 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=eqQZQEn+; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=wxqZnrKj
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 fPNEHiA5QNY5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 May 2022 17:03:41 -0700 (PDT)
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 1164DC3A3D72 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 May 2022 17:03:40 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1nu0wL-0006od-IR for ietf-http-wg-dist@listhub.w3.org; Thu, 26 May 2022 00:01:21 +0000
Resent-Date: Thu, 26 May 2022 00:01:21 +0000
Resent-Message-Id: <E1nu0wL-0006od-IR@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mt@lowentropy.net>) id 1nu0wK-0006n9-C7 for ietf-http-wg@listhub.w3.org; Thu, 26 May 2022 00:01:20 +0000
Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mt@lowentropy.net>) id 1nu0wI-0005ti-Fy for ietf-http-wg@w3.org; Thu, 26 May 2022 00:01:20 +0000
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 1700B32009A8 for <ietf-http-wg@w3.org>; Wed, 25 May 2022 20:01:07 -0400 (EDT)
Received: from imap41 ([10.202.2.91]) by compute3.internal (MEProxy); Wed, 25 May 2022 20:01:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t= 1653523266; x=1653609666; bh=OIbZV+6XtjIXHdiHBgwO8UNT7GSxT5vTugu qSKkZank=; b=eqQZQEn+CTD3jCvna2U+4NJuJp6mrlZDLutfnlBWyp1bVbfVMj9 Rew2ZrH0arBLqx7tmDi85W/ts5zPuLcy0IWQRtxie8Ra0mXMBhpGn6nVtkK7GdDh FhiCvdkP7u7XEykf+cSJ9b3VNYPqxlTcmolQCICB1WssR3fX6RlPcVg+s4QI0asT I9tNPjQV5TI/7WQ8q+Yfw8SjcxyIyetwv/aZrj4ZLDlkgIroZOh4aCTyRKuhPVBc hoPtNw9+f2eULZleppndu+p/YBZoUc29hmBcXT4JaHvAsPj599Wuup//fu/cQnMZ iWVE5yx5WGxsFqIuhvYOaWPaorX83XSFlrg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1653523266; x= 1653609666; bh=OIbZV+6XtjIXHdiHBgwO8UNT7GSxT5vTuguqSKkZank=; b=w xqZnrKjK9y8EQPyQatDaRvjAzrQkepvhMbL8aYdl47eqjsnO9fXrLN1KfTYM+tIY 7DNAQ82sR6hB5YKniXnRgJ3D9/k0hNaBx9KMpqOLIZn88EjXcBY9G/OjAwpfkM+m +0Q/RucXQb0KFCJLzkYN+8ynLEIfTSVL5pAmbxZhCvJJPDQOn2b9o4pcggBbQpSU GFKIQay9KjBMbM8pr8jVdISmJFow0f+iRchoKm1Y0JrLiMZ+IqgyzJC4bK2ynvaO enj7Bnd4bEtBhYro0qi36gJ2lnFjWwrzdtnlBkZnZItclO/E0oeF0X6tkBsVV9AW kJUVjBWr/rxWBFR3edy6w==
X-ME-Sender: <xms:QsOOYv3Y6hT5rBz2gEhygyug0sIKeYoF7kGjBDHXn8oxEYAFTEuw9w> <xme:QsOOYuHNI56IObd7fi4xE3sE8PZZZYbeK5w0i6kAo6OEQ84MocozrM2II1OFI8pXo qAnKRoRRo2s6AfChRc>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrjeeigddviecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtredtre ertdenucfhrhhomhepfdforghrthhinhcuvfhhohhmshhonhdfuceomhhtsehlohifvghn thhrohhphidrnhgvtheqnecuggftrfgrthhtvghrnhepgeeuheeujedvieevffehvdekge ffkefggfdtteelfeekfeeftdejhfdtuddvuddtnecuffhomhgrihhnpehgihhthhhusgdr tghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmtheslhhofigvnhhtrhhophihrdhnvght
X-ME-Proxy: <xmx:QsOOYv4mA2HkpCH9FtAJPRNjRIjkYdhiOjaGHzFALKDot2L1EvVOpw> <xmx:QsOOYk06a54msAq8tEmhAZ8uaMfLd1KHViSBwaNy-DAhjYCZ8E4FOw> <xmx:QsOOYiHFSIudhZLsS2l9X3ZV04MeQfWFtZIXlZpedD-wpk7op-ciDw> <xmx:QsOOYmSG7JqkdUL_QkzG4xRwgZ57b7g8ZZACoydyE6da0oV25ObVCA>
Feedback-ID: ic129442d:Fastmail
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6223B2340076; Wed, 25 May 2022 20:01:06 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.7.0-alpha0-591-gfe6c3a2700-fm-20220427.001-gfe6c3a27
Mime-Version: 1.0
Message-Id: <a5b14137-3522-4461-9442-7c7541319b15@beta.fastmail.com>
Date: Thu, 26 May 2022 10:00:48 +1000
From: Martin Thomson <mt@lowentropy.net>
To: ietf-http-wg@w3.org
Content-Type: text/plain
Received-SPF: pass client-ip=64.147.123.19; envelope-from=mt@lowentropy.net; helo=wout3-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=-6.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, 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_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1nu0wI-0005ti-Fy 8a983879ba3147bbe4262e12365197ea
X-Original-To: ietf-http-wg@w3.org
Subject: Minor fix to ellipses in binary-messages
Archived-At: <https://www.w3.org/mid/a5b14137-3522-4461-9442-7c7541319b15@beta.fastmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40044
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/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

https://github.com/httpwg/http-extensions/pull/2128 makes a very small change to the indetermine-length encoding diagram to remove an ellipsis as follows:

 Indeterminate-Length Response  {
   Framing Indicator (i) = 3,
   Indeterminate-Length Informational Response (..) ...,
   Final Response Control Data (..),
   Indeterminate-Length Field Section (..),
-  Indeterminate-Length Content (..) ...,
+  Indeterminate-Length Content (..),
   Indeterminate-Length Field Section (..),
   Padding (..),
 }

The same change is made for the request.  For context, this is how content is defined:

 Indeterminate-Length Content {
   Indeterminate-Length Content Chunk (..) ...,
   Content Terminator (i) = 0,
 }

Note that the removed ellipsis would mean that the Content could be repeated or omitted entirely, which would make it impossible to find the trailers if there are any.  The ellipsis on the Indeterminate-Length Content Chunk line is the intended and correct place; that doesn't change.

This aligns the picture with the prose, so this is *technically* not a design change, but I wanted to ensure that it was raised here given the state of the draft.  The known-length encoding doesn't have this problem.

Cheers,
Martin