AD Review of draft-ietf-httpbis-binary-message-03

Francesca Palombini <francesca.palombini@ericsson.com> Fri, 20 May 2022 14:47 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 448A7C15E3FB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 May 2022 07:47:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.326
X-Spam-Level:
X-Spam-Status: No, score=-3.326 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.575, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 cejG1mWpRz3H for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 May 2022 07:47:36 -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 E2C50C15EB49 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 May 2022 07:47:35 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ns3sG-0005Sl-Gj for ietf-http-wg-dist@listhub.w3.org; Fri, 20 May 2022 14:45:04 +0000
Resent-Date: Fri, 20 May 2022 14:45:04 +0000
Resent-Message-Id: <E1ns3sG-0005Sl-Gj@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 <francesca.palombini@ericsson.com>) id 1ns3sD-0005RV-Uo for ietf-http-wg@listhub.w3.org; Fri, 20 May 2022 14:45:01 +0000
Received: from mail-dbaeur03on2050.outbound.protection.outlook.com ([40.107.104.50] helo=EUR03-DBA-obe.outbound.protection.outlook.com) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <francesca.palombini@ericsson.com>) id 1ns3sB-0003mB-Uc for ietf-http-wg@w3.org; Fri, 20 May 2022 14:45:01 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MIl6m893gOj711gb4zEu35ukEIgcPWQimspd6Qwhe32ZECKPyUV4dS9V56ZA6FcAjcDcFXuvY8rJN3Z8B7PoULwNrKhldZz87zmAsnTlPDF3zKSuXF1L6DM3P73agRF1PecqxQv9mglnZ3Q7c1Gjy/+21pbGEutU6j1xmtbt4EOwzqAVg9Ys9UuhRR0EoR7+qjaGw2ThjCjd4+Gm3T3QOcWJVJKsF5i58mDBOhg7TanHls8QA9jBb7ZSp//A0FobHxsGaBhMq2pE4QKcrV4sdFgpcp7WCrqN/beiXtXBXXsYFHBbakb9qEHQV4iv9LMDyhG5xRpIaiqSlurlTlm/oA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=G6oiHQc27/vLiV0Ff7etD+dqTCEH+SvAhAh7NLQZurU=; b=WbhHO6o0ZKZQTNMVa3wNyF9BKtALwXn6/mDV27sZU6tFl5l2Fa9dwMwrLBuQt4fUZ40PA6KL8Vb2OgtBse8CdagiJTu6+3NtYWqXoAk6mXDI/9tYFwl5f1FnZT00ocaTnlIQCOCNpImCatcBLeCK1WxwxDgmQl47LciyDh2pAFGRYp5xApdGl5XX+KdXIjoiCzSSNQTxDVb800L8XaDyqoqayKjKS5ag+LvFeJRj5xZvh93gQO2UUBPp/U9ulvdI+ZyTQNx/PVy1V+99BHXqgdd2dEwOdxMNEKn3MeNJKTEed3fbhhrEWPHH4mzzZR9VTPE5l/AeZvQeU+a/JchMBw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=G6oiHQc27/vLiV0Ff7etD+dqTCEH+SvAhAh7NLQZurU=; b=JjEZKcmGBwrfTwix2UZKMlpJt0c8MGpbV43b9BQXpABKuB3RD5oksOtwz7s98cZ8pADkfPfFfAg1vKm1N7vxadEdOGJrILfR9wWsZ6jZUgsRSlWCXa/IorfwMIgv8xGbiwkQasJD4f9h03ggqOHG4oFiB94XRRyj4yJXWo2nuww=
Received: from AS1PR07MB8616.eurprd07.prod.outlook.com (2603:10a6:20b:474::16) by AM6PR07MB3895.eurprd07.prod.outlook.com (2603:10a6:209:37::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.7; Fri, 20 May 2022 14:44:45 +0000
Received: from AS1PR07MB8616.eurprd07.prod.outlook.com ([fe80::c033:d932:52c3:d257]) by AS1PR07MB8616.eurprd07.prod.outlook.com ([fe80::c033:d932:52c3:d257%7]) with mapi id 15.20.5293.007; Fri, 20 May 2022 14:44:45 +0000
From: Francesca Palombini <francesca.palombini@ericsson.com>
To: "draft-ietf-httpbis-binary-message@ietf.org" <draft-ietf-httpbis-binary-message@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: AD Review of draft-ietf-httpbis-binary-message-03
Thread-Index: AQHYbFexteafcRk2hUWPEYusJccUJg==
Date: Fri, 20 May 2022 14:44:45 +0000
Message-ID: <AS1PR07MB8616B881EBBD2E5DFCC414BA98D39@AS1PR07MB8616.eurprd07.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 35f70b08-a240-4f15-146e-08da3a6f4816
x-ms-traffictypediagnostic: AM6PR07MB3895:EE_
x-microsoft-antispam-prvs: <AM6PR07MB38957087CD353D9666C4034898D39@AM6PR07MB3895.eurprd07.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Z7ZnaJC+KTkUvjK1Gslx54GwDv+xBnJ/Gr0DlxwzGIHsfa/+t80FTlrL0QeEwc7h7TajpSuAkEO0AE+nacvexIzwbJxOHni3vaJrqLFAaIbDroFAN2Pt+1nE6nV+1b4gwORHxYRg/Z//hiXam2h8T1zxnarB9cK44IanGQ1KL9VGTRHkLTV2O7bLQR7CTCiQmw7bDVq73CSUX+bqiUm3cOkI/xr6G4H/5WxQzBOoBGwcCS6OBOwrlWB7gvLkZY5Kp5C5gU4q3ReO1HsaWTBek5xKP1GbdC5RrkOoIwZd/oyoHMqdGKid+B2etiJsTl2638zdpAKB5e1Te9zZvjV11Ti5eIoNtUTD/avTQq4UwCE9CqpmKMdjBl/wgQBBWNRDUvFKrXrohJbUAX8FgjpexKdywYDbbKfFD4vDtrj1PGwEuQQA3W4D5bOCt3+DHGlYVECZf/UH8wqi9EWgkd8HyrQrz5LBzh1O/dyeURKysw3R2idnw0wiTzecwEn6F4VjnBCwL4+tyNQcPF5BaL4Cmk1AgOdlsWqUgEEDr3kBUpxp51e9VuKYXuyIqH/BMz2vlHf/VJsfJJjyFzb067Px9oO5PsfuW94IVKlq35EIOtVEdYKjea4YOX4T+36b0+pucPcH2Wcd7ackqD7X+7PD0rwnSnW0BTb4Rwv7bditZKBVB2UfESVDFGLGBRCtetc5uCOwgBvYEG7ixk+u9MF8uw8YNdwkIYDv7jasGTgGLaFOmWb1vQ6pWSk/UIFHird9AlVNma8hsjOPqZi6usCACTJYzMm+MJw9VU3vNH6kCglfK0Z6iKFubWyruE2GDBwhQYW3rSoOwfNYty65Z4F+SQ==
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS1PR07MB8616.eurprd07.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(110136005)(7696005)(38100700002)(6506007)(316002)(82960400001)(86362001)(9686003)(186003)(2906002)(44832011)(966005)(508600001)(33656002)(83380400001)(64756008)(8936002)(52536014)(5660300002)(8676002)(15650500001)(55016003)(71200400001)(38070700005)(66446008)(66946007)(76116006)(91956017)(66556008)(66476007)(122000001);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 2
x-ms-exchange-antispam-messagedata-0: rVPd3HoxHBFmCl3nbhKCj/ZHTvXa27/3HYR+DuujNBmQmyfVqZqz74mYV3AMlniD20JtZjlOTPfIQAiJorMfWLLiOcISvpbXmcM9sKTmUuWDcJ+W7zAKAiwsDsj2T6fwrpnk5b/hyVr1oF7PKZ2xsPkUyTmxNmZeTy3+Z/A+J0XVaLE5CaFfRZSYRV2BbMm3iitkZ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x9a/9gZpD8wHzf+pBCYA8kJITnpHcTTeg0bBJvZ19xhZp3T/+QEqHk9oOE+0EIjbhccnEo4cpChY0pL3m8bBr957Eszz/fb8XJGSiT/1Pg8E/zTxQVwjkmI0SjOJ7lvE0p6Y8Pyy36etPOw452pX7/vNajITMjwKdwZzPJthrBHcBYIdRwqZ1WCsZiDrNsSytSCr1cBhXuM7fSaqkNJxGmbpWzM3OiNEcX0EPW1lXCL3mquc67F0RTz6vW7MC/HAsd8lif4KJFluVouCgjfC36tHNKKjmtyE9Wgqb+zU0qtklG+vvsOtClMYuVOO1PDTHxUip8XgPf0veU+dOkb5bNAkFXPdXlaBu2d5Ytk9lldK5GJbPhSo3mbz7KyF+iAMl0S0H8ZfTmWUJcElrXCvXdJIZHF7ncc8utB5t1qNFQlK5znT+OkzEnBEV5otbruaHRNRN4p1gy+j4tQd0NnQVAqcQjzSAZ95lOxww5pg0AELmIEKrusYdicqLEATqMjpl8Vm3UwwLR24WAaZGLvPQMvwBUpoLzGL
x-ms-exchange-antispam-messagedata-1: niA5l8XqFnBs43y6Qm1RCD71fdTiHXMvjIkTKJ/tvuj2oKGZ5/Xg7P8kZoLHkHkXaoqgzCbnNnpRpg==
Content-Type: multipart/alternative; boundary="_000_AS1PR07MB8616B881EBBD2E5DFCC414BA98D39AS1PR07MB8616eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AS1PR07MB8616.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 35f70b08-a240-4f15-146e-08da3a6f4816
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 May 2022 14:44:45.1377 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: rkquh+EXd+AgROuxlOpcEMe+JI/aHI5+ouz9kthUi0PAJLwVbF9H5EE8xVNBg7IBR1/Y+bGPJtgNlvfVDxhvwVHXnt9lfjRWcIQalhaqBUEl2igrjr+QX2hWXA3tRF7U
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB3895
Received-SPF: pass client-ip=40.107.104.50; envelope-from=francesca.palombini@ericsson.com; helo=EUR03-DBA-obe.outbound.protection.outlook.com
X-W3C-Hub-DKIM-Status: validation passed: (address=francesca.palombini@ericsson.com domain=ericsson.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-4.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.523, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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 1ns3sB-0003mB-Uc 1495d72428339e607367a24c827bd857
X-Original-To: ietf-http-wg@w3.org
Subject: AD Review of draft-ietf-httpbis-binary-message-03
Archived-At: <https://www.w3.org/mid/AS1PR07MB8616B881EBBD2E5DFCC414BA98D39@AS1PR07MB8616.eurprd07.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40030
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>

# AD Review of draft-ietf-httpbis-binary-message-03

cc @fpalombini

## Comments

Thank you for this short and well written document.

No major comments from me, only a couple of minor requests for clarifications and some nits, which you can address together with any other last call comments. Nothing controversial, feel free to take or leave, however answers are appreciated.

### Clarification on optional informational response field

Section 3.1:
>   That is, a known-length message consists of a framing indicator, a
>   block of control data that is formatted according to the value of the
>   framing indicator, a header section with a length prefix, binary
>   content with a length prefix, and a trailer section with a length
>   prefix.

Section 3.2:
>   That is, an indeterminate length consists of a framing indicator, a
>   block of control data that is formatted according to the value of the
>   framing indicator, a header section that is terminated by a zero
>   value, any number of non-zero-length chunks of binary content, a zero
>   value, and a trailer section that is terminated by a zero value.

At this point in the text I thought this was missing the optional Informational response field, but you say explain that several paragraph later. Maybe clarify here that this is for messages that are not responses containing informational status codes, or move those paragraphs closer together?

### Length prefix

Section 3.1:
>   For a known-length encoding, the length prefix on field sections and
>   content is a variable-length encoding of an integer.  This integer is
>   the number of bytes in the field section or content.

Might be worth clarifying that this integer value does not include the length bytes. My comment comes from the fact that "field section" is the name of the structure containing the length, so "number of bytes in the field section" could be interpreted to include the length bytes itself.

### Normatively reference HTTP/2

Section 3.4:
>   The values of these fields follow the rules in HTTP/2 (Section 8.3.1

Section 3.6:
>   A recipient MUST treat a message that contains field
>   values that would cause an HTTP/2 message to be malformed according
>   to Section 8.2.1 of [HTTP/2] as invalid; see Section 4.

I think HTTP/2 should be a normative reference.

### Add reference for status code

Section 3.5:
>    The control data for a response message consists of the status code.

Please reference RFC-ietf-httpbis-semantics, Section 16.2.1 or Section 15, or the IANA registry: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml after "status code".

### "Final" Response Control Data

Section 3.5:
```
      The format of final response control data is shown in Figure 4.

   Final Response Control Data {
     Status Code (i) = 200..599,
   }

              Figure 4: Format of Final Response Control Data
```
I see that the Section 3.5.1 talks about "final status code":
>  associated header section until the final status code is encoded.

and that explains why you called it "final" in section 3.5, but I think you  need to define why "final" is used in the "final response control data" when it first appear (so in Section 3.5), or you can remove "final" in 3.5 and explain that only in 3.5.1.

### information status code

Section 3.5.1:
>   Responses that include information status codes (see Section 15.2 of

>   that precede a final status code.  These convey an information status
>   code and a header block.

Should these be "informational" rather than "information"?

### indeterminate vs indefinite

The document uses "indeterminate length" and "indefinite length" interchangeably. I would suggest either using only one, or adding "indeterminate" when the first "indefinite" appear, i.e. in Section 1:

>   *  an indefinite-length encoding enables efficient generation of

### Media type registration

Please don't forget to send a media type review request to the media-types mailing list.

## Nits

All comments below are about very minor nits that you may choose to address in some way - or ignore - as you see fit. No need for answers.

### Editorial nits

Section 3.1, Figure 1:
>   Known-Length Content {
>     Content Length (i),
>     Content (..)
>   }

Section 3.2, Figure 2:
>   Indeterminate-Length Content Chunk {
>     Chunk Length (i) = 1..,
>     Chunk (..)
>   }

For consistency with the rest of Figure 1, you could add a comma after Content(..) and Chunk (..)

Section 3.2:
>   That is, an indeterminate length consists of a framing indicator, a

Missing word "message"

Section 3.6:
>   whether the message is known- or intermediate-length.

s/intermediate/indeterminate

## Notes

This review is in the ["IETF Comments" Markdown format][ICMF], You can use the
[`ietf-comments` tool][ICT] to automatically convert this review into
individual GitHub issues.

[ICMF]: https://github.com/mnot/ietf-comments/blob/main/format.md
[ICT]: https://github.com/mnot/ietf-comments