Re: Compression Dictionary follow-up from IETF 119

Noam Helfman <noamh@microsoft.com> Thu, 11 April 2024 09:53 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 12EA5C14F681 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Apr 2024 02:53:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.9
X-Spam-Level:
X-Spam-Status: No, score=-4.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=w3.org header.b="cqaHKQGo"; dkim=pass (2048-bit key) header.d=w3.org header.b="G8lbbw1e"; dkim=pass (1024-bit key) header.d=microsoft.com header.b="FhfHiIGy"
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 94uSGJ5VvmmI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Apr 2024 02:53:05 -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 RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 67B89C14F5FC for <httpbisa-archive-bis2Juki@ietf.org>; Thu, 11 Apr 2024 02:53:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:MIME-Version:Content-Type:Message-ID:Date:To:From:Cc:Reply-To :In-Reply-To:References; bh=aPcgMRR+ZEzP+h70ikXbhU1VeUiyoVzgkqpiXU4pYwo=; b=c qaHKQGoDdBD62H6AOsCNGrq78mzz5Prdn+DFZbIWjm4+g9Yc6xfT/uPYDiY8du3SZBp8dC66Tx5qw NLR01lIjEabxyBVJDRAAXn2pQMphEcrcTmSx5J3W1JwrBQieJQnYZmZ+Ful9B4s8aw/zzK7sLsjS6 VwmnQC0syQFJ2tLgtwjH7okEETwp7anlSk6hznuBzu8Bx3yF8YNiYpcVWBA8uc3/Wx0NOSlXjfASR rE7GN1fMfWkLntPb0ZTInXCQKVprMH1sejoonxR+ymSiY/VoyTgzgwvqed8xklBv2CpPFj/uJlnCU 7+GpiZwgTrYGO+E8KYyaOqAP3mxHmkl1Q==;
Received: from lists by mab.w3.org with local (Exim 4.96) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1rur64-002pOa-1k for ietf-http-wg-dist@listhub.w3.org; Thu, 11 Apr 2024 09:51:56 +0000
Resent-Date: Thu, 11 Apr 2024 09:51:56 +0000
Resent-Message-Id: <E1rur64-002pOa-1k@mab.w3.org>
Received: from ip-10-0-0-224.ec2.internal ([10.0.0.224] helo=puck.w3.org) by mab.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <noamh@microsoft.com>) id 1rur62-002pNj-20 for ietf-http-wg@listhub.w3.org; Thu, 11 Apr 2024 09:51:54 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=MIME-Version:Content-Type:Message-ID:Date:Subject:To:From:Cc:Reply-To :In-Reply-To:References; bh=aPcgMRR+ZEzP+h70ikXbhU1VeUiyoVzgkqpiXU4pYwo=; t=1712829114; x=1713693114; b=G8lbbw1ejMt9z7PH7yY6VW/MM/IUNyAo01vLNW5c2jJOpHx ilRNjYJCRmacTz6J/kK0xQvUXwu83T1Er3/4iIGad5zR08vGsW0PSrWs2sK5OVZFdFzc4YwyP1zAf AVoYfZDjveXvLdI2oJ+5YOYlCys2b1puaDfuBUbYmJhcE3sF3+DO7hBu3d69aXR4sYXVz1TnXbQly MlThmacSTP+k0hsHVMSfwrjSVpVFzf9n7UPbh8kiGkn95H+fiL1n1AorJJR2z/W/BaX1UIxGhnxwL Lb4AwBlTUvKCaJu/+Whu4CZ2Mcav3FCtN0DOVW/40KGJ7DQCULFjSaP6Rdhdxhlg==;
Received-SPF: pass (puck.w3.org: domain of microsoft.com designates 40.107.247.113 as permitted sender) client-ip=40.107.247.113; envelope-from=noamh@microsoft.com; helo=EUR02-AM0-obe.outbound.protection.outlook.com;
Received: from mail-am0eur02on2113.outbound.protection.outlook.com ([40.107.247.113] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by puck.w3.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <noamh@microsoft.com>) id 1rur60-002y01-2k for ietf-http-wg@w3.org; Thu, 11 Apr 2024 09:51:54 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RfnmqQGFXXIoV4bWqtEP2wFCVjtLlX/2zg9Y7Il6h7cjBmMC+RunMytww9Nw/vAqYWO0kAqrdgTtVWEd8AaUjFtrkmJpT5bK0Je9gnYzJ4xzamudukOKPJrpfPafSCM27MXcMlz2BqgQKAIiHbEnXclraJ9q4konoQpijiQI18xvW8JO/11SDldQ2DDS/RgWcyBbQqQHd7oMeFH69bu5rH+5D/Q5o+z95rKP3izOFlEllbGsEI4sjAjbPIKUYHm/RRGSGCJMVn3FxwtNmwF64vt5uIFz8L5pMtL57AdftSHNxGb45uQsgHunw5+bgz1SvWtsGGl5rqVZ7lDsJP1pgg==
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=aPcgMRR+ZEzP+h70ikXbhU1VeUiyoVzgkqpiXU4pYwo=; b=XkPHMdARBMK7P/rZ4SmUtZoduyt4jx3mg6O/Rmr2iTBNcEpyMKpnIXOt+4+vWqYx7XqnsyGklDXhqT78U8L/DgV9EayAx4otxw+vMYVgZOTcu5IrQ3ScxhB4DvQid3986O8la5LvTHfX2RBSjvPiRmXuanBHnjOJc9NuTvuGnuWUYsc3ydd0vaE8ZhLYo9qeJEvCcG8j6BDV1VhJObHtm+n8YLu2WP7hWbDQu1iJeZ5q/luKaD5hVtKBjlBX8XzwmUzoCK8olgz18QvM09s60O1b1uXg8A8mIPl35ATWsM8roj7+XnK2/rM/+OCfMorJUyacOwUhYXXhu58lu2L8Zg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aPcgMRR+ZEzP+h70ikXbhU1VeUiyoVzgkqpiXU4pYwo=; b=FhfHiIGybEkK1kdV6/wm+lgC18fMwRF8+/XUUAugQ+j4Pa6TTyMmOD64i1Cax7E+MXIP0lpmGubFfIymAiq/ymZK2Tn2cYhaiZOnUvXTHgJP0cuaF6ds/5OH+jKY8Ycq90pkYV2k5o7Qt6uWa4suhAKovCM5UlXBHC6W9gTzeF0=
Received: from AS1PR83MB0513.EURPRD83.prod.outlook.com (2603:10a6:20b:480::6) by VI1PR83MB0400.EURPRD83.prod.outlook.com (2603:10a6:800:19e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7495.12; Thu, 11 Apr 2024 09:51:45 +0000
Received: from AS1PR83MB0513.EURPRD83.prod.outlook.com ([fe80::211a:3594:bf79:b5f3]) by AS1PR83MB0513.EURPRD83.prod.outlook.com ([fe80::211a:3594:bf79:b5f3%3]) with mapi id 15.20.7495.011; Thu, 11 Apr 2024 09:51:45 +0000
From: Noam Helfman <noamh@microsoft.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Compression Dictionary follow-up from IETF 119
Thread-Index: AQHai/QUkDOG+AhTb0qwVbGGPr+Zhw==
Date: Thu, 11 Apr 2024 09:51:45 +0000
Message-ID: <AS1PR83MB0513C94BAF85F7B44159DC63A4052@AS1PR83MB0513.EURPRD83.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2024-04-11T09:51:46.807Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AS1PR83MB0513:EE_|VI1PR83MB0400:EE_
x-ms-office365-filtering-correlation-id: 1c6ac70c-141b-4492-07f1-08dc5a0cffb2
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 4KE2R2g+5YZgE327hM725LGbteNvBDvBBpnme7UpZIvrAtmZvDOUaMxZ/daGJktTt3GLEOQdVVcQyoNo62hwp6MUnVgJwjdkmhFXT2BVGVZr7QgHaCUCISdhp/mGLnq1nHIH8MmWh9bHR4QBE5rN0RsPhl0Ynp0LjC6jTg7t5rmIJOd3VUj6ud6eRZNE4gWP8MCbem++fzFujL7to1CutgQJ1ihw2wB0g1fUc30Sf88TaZ1hJHIQzO+i8pITZsQUkjPFbj/FBy0UMsbIKTPl+YOnm6lV6khU0A/vtJxukSvcngW0yrwG0D5FKX1ycSJJKolzoeHWE9Sk3iDCTc8U3SQvQCV7cjsTuYeGRPxRa9X/tVHnYdhCb1eTrZv1oZeKCdF/xFxQ17spO3Ow5HaiLyPyM7VhOrLH3x73BThY4ILaPQUz3QtpfHPA570LFrZoHor39PLB4RPIm/9WlqrXGgBtJUe1qKaCnNe+98YC9Wr7b8eUfQ+SW6559eM46vIQ6n5he1BPqPoVkrFqFGUw1i9eQvo4IuqoXcwtZNxqSB8SZdtN6E6qtIobRsE47ZAa4EKqzdsT69wE0drqNZRz68y6RApvZl+YSf5Jdacr3reYwb96m6+b2wmEJBlrxshbQydVk1Au1V3vaZNU0b3Rt6QZ8vJ88p2umVFBNG6IBZJrzqiHNF8STbEvYkAHJwbo6L2Wn4MFyfxEFa6+hiCi41yYbo2hpNJmpm7Kh3oDVME=
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS1PR83MB0513.EURPRD83.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(376005)(366007)(38070700009);DIR:OUT;SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: W1aeyPSp5LkM3FrW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u7gHI5mWyFzRaIa1gw+b1AIz1Umh448F7j6eviwGCtfMuc0vQw5sWGAcbrsScdjsHkMxdVFQVM+gT4R2mvOuabjXUyVsPTdtsJd00tuITQJX3kCoRwbEKE1tz4kHs4HZrrmZRvuU3UMlwVHzuPA2pdTqwHFLaurLfZmValivhFYvJ/yL8M9dsldQxibfqjhqKcygVVrrrzhx/TwRSfkU9E18Y6Frr6I3ByMgECGOcaax2OhwgAV+YkBy5XgbgAjoPbgVyU3ZBq7PJNcaxt38ZuPSHSDKfhZzP0+68XWDVLwCAFEDn1jCPGY8/SVvWtPNb+E3jiO/7ckMrR/DA+KyUMXqN02mNO4rGlqM51SfBWUyx0wMDTwXfI92cT+8t4qr9Z3JRpA57/KKnrwRQ6gSz1cmmRdfYs7HLf2xfUwPhBhsk1Uj4oAS9n09xk2VrAwtftNRbCLJBVXBe+WVpumIi+IBBqr/GCSgzrkcF+HodUBVWg5rHQWhfAlX3Kd/7Xs1hGOcmPxJwK+EJ9RGYs3KFKhZrIQJkJIPJ6aYHK8cU220SDf8IPxh8wse0D5zw7hg9gf
Content-Type: multipart/alternative; boundary="_000_AS1PR83MB0513C94BAF85F7B44159DC63A4052AS1PR83MB0513EURP_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AS1PR83MB0513.EURPRD83.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 1c6ac70c-141b-4492-07f1-08dc5a0cffb2
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Apr 2024 09:51:45.5596 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: YRO43AdlgFrehBCJMz/PQrkB+isDRrvuh3xmAUERV+uaed01OmPKsHgOa4Bsq6OGa+bYbiQofxTiw/V0HvpoFg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR83MB0400
X-W3C-Hub-DKIM-Status: validation passed: (address=noamh@microsoft.com domain=microsoft.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-8.6
X-W3C-Hub-Spam-Report: ARC_SIGNED=0.001, ARC_VALID=0.001, BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.49, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, DMARC_PASS=-0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: puck.w3.org 1rur60-002y01-2k ae79584f60002536eaaaeeddfe6e7e31
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Compression Dictionary follow-up from IETF 119
Archived-At: <https://www.w3.org/mid/AS1PR83MB0513C94BAF85F7B44159DC63A4052@AS1PR83MB0513.EURPRD83.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51921
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>

> "2 - Questions about the use case for hex-encoded dictionary hashes."

I’ve been dedicating a considerable amount of time to incorporate compression dictionaries into our workflow. I must express that it’s rather challenging to utilize the encoded sf-binary format of the hash in the header.
The hex hash string is prevalent and is employed in various instances during troubleshooting. This includes the file path, SRI attributes, file name, dictionary page in Chrome, among others. Given that the sf-binary is encoded as base64, which isn’t a valid URL/filename, it necessitates frequent re-encoding to be functional. Furthermore, when the multi-encoded value needs to be cross-checked for accuracy against another resource, which is a standard hex string, I find myself constantly removing the colons and decoding it for swift visual inspection or analysis.
While it’s accurate that sha-256 is a byte array, the hex string representation of sha-256 has become the universally accepted method of handling this type of data. Therefore, I strongly advocate for maintaining this approach.