Re: Working Group Last Call: Compression Dictionary Transport

Patrick Meenan <patmeenan@gmail.com> Sat, 15 June 2024 18:14 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 36331C14F616 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 15 Jun 2024 11:14:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.859
X-Spam-Level:
X-Spam-Status: No, score=-7.859 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, 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=w3.org header.b="o0F4EFaH"; dkim=pass (2048-bit key) header.d=w3.org header.b="GYkJ3fU6"; dkim=pass (2048-bit key) header.d=gmail.com header.b="HL4XUMua"
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 mc6AT0C30NkK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 15 Jun 2024 11:14:06 -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 0F05AC14EB19 for <httpbisa-archive-bis2Juki@ietf.org>; Sat, 15 Jun 2024 11:14:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:Content-Type:Cc:To:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To; bh=4Ad3+aRq4hIGaJLU9qZdDNe8FhErPzWQdrQl4+ls06M=; b=o0F4EFaHBv0oG/9jlT++/0GHe0 FsUn++ARzblwCNx+7IhBsQ1qvmZp7ItiFu7YljgWA6bZCcW3UpmL/INt81oCo8zsy48q+J5X0l5qd OKE/FI9NYhyNspZxyGE/d4TTSBdoJaEmKzn0zVthRnWsUfw1bQpkulpH42bLDB2Qwr8ieK951qjvW ioPtwCwbd3ESGUaHF52JDHIlDFfwFl1jGPR19B1ipamiLnljUnqp/ogqbSgiIOqfFg9HMlFTIBUXA KaOnqQS2HJO0wkewEH68jFvZGlqVYGO3Cqy02yjnFIbGQUkPPchJTQu+P1E46IlXfWiUQdQfyg7dm be+bfmvA==;
Received: from lists by mab.w3.org with local (Exim 4.96) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1sIXtf-0090gj-0C for ietf-http-wg-dist@listhub.w3.org; Sat, 15 Jun 2024 18:13:03 +0000
Resent-Date: Sat, 15 Jun 2024 18:13:03 +0000
Resent-Message-Id: <E1sIXtf-0090gj-0C@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 <patmeenan@gmail.com>) id 1sIXtc-0090el-1V for ietf-http-wg@listhub.w3.internal; Sat, 15 Jun 2024 18:13:00 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To; bh=4Ad3+aRq4hIGaJLU9qZdDNe8FhErPzWQdrQl4+ls06M=; t=1718475180; x=1719339180; b=GYkJ3fU6x6FPFMlBYMVQMN+sBthPWA3PPRcOGwk+kbnZEzRq76r3UDE9hE1624mAWeQbJyyP5yS +nGAj0NI7/PjzlAoz6nRWI3NFZSCSXLZl9u4wtY8K+SAoB9reM4ut/xsU7UkqvZWVsveK0fmwLa4A +5Dj56SPYC4itR1MoYRUcpnXDLq+ZNZrAx6FDszDRB7tyqKWlU/GO7MIVhxQ27c+LtNR5QoRHRV7m wvN9GwCs8PbciHIxWcTRrKvlf1rGurHZDzkqDRLOoGgAlZrB32uV+6DVFFm5vw8jv/D3D45pZpsx8 RgZ1kc8nwEeDBKT+dnt24LT+Mspg85fVM6rg==;
Received-SPF: pass (puck.w3.org: domain of gmail.com designates 2a00:1450:4864:20::52e as permitted sender) client-ip=2a00:1450:4864:20::52e; envelope-from=patmeenan@gmail.com; helo=mail-ed1-x52e.google.com;
Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by puck.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <patmeenan@gmail.com>) id 1sIXtb-007whJ-1x for ietf-http-wg@w3.org; Sat, 15 Jun 2024 18:13:00 +0000
Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-57a1fe6392eso4212626a12.0 for <ietf-http-wg@w3.org>; Sat, 15 Jun 2024 11:12:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718475175; x=1719079975; 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=4Ad3+aRq4hIGaJLU9qZdDNe8FhErPzWQdrQl4+ls06M=; b=HL4XUMuai3acy8fWSE0FUgtoRUqRY2p0M3A+5OcRTUTEMzUNXHZI7zzeLx9JAuKgLm H3jXzlO1JXRh0Nv5INp1LUF1uDmGGWiwYkNQsHM3poPK8adyyaZo6LKuKrpwewpmfgMq PEkNNctJyaHU+OqLjvVEFTd69Z7c15ZuZHaBDEE0p8Aen78DnV+EJiGrmGX6HLGbFWit L1Ew6w+IjKVpwLEsK1NqfYsOZYPvkTTRksCvlQi/PQ6oUgeiYSpLr7lIyRBnTKv8B5X6 /ZfbujP9oYT0haVppVWhwi1muqIsU87NzOkgIWmV5tGPypNerGY4EMuKngqVxNEPxUEL XH5A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718475175; x=1719079975; 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=4Ad3+aRq4hIGaJLU9qZdDNe8FhErPzWQdrQl4+ls06M=; b=IYqSXrgxn1K2ZsO6JsCqlh091SXmcVy9c4LoF8omcYBKYuD1bJQRnEfcT/NgtCmhif H/KjsC2xab8+BW9Ckq5sU+PCZKgatZaQWW7aM0A4yzHSu69HSZSYFq9d0c7SVl4jm3l/ YLFBZcCmPGvn2GM1Gg5Aa4rwnrW2t6w/S1L7a66QLU9q+1wHB0XZ+ua9o26t3DwdC2j2 0leE8TclT3jKJy7LBi8diquHKSQFWbSH5bk4CDlKaWm2svqpgV+EELIkhiaYiPHly3CF tJiZI0NLcExPLFdP6mkVkjKhQ0Ldaki+3BKOD8UTPkid3iiKHOlBp7WCQOfNlRBOpTL/ 1tkg==
X-Forwarded-Encrypted: i=1; AJvYcCUcWQ0XnKQUguUgTeVjcF5y0JalobagMD+bSlnU9y5YOriOUw/M8vmMMy2YS6sNSO0QkaugBa/n/+fV4iwsp9aeDpPn
X-Gm-Message-State: AOJu0YwZXBPL5VMqB4oExo1ur6X1dG3yxq6I8u671yLAqLjWxz79SjVe 5JrhioK7k67lkrw2yAvAjSynW63aaQdpuVUB7C5l+glZRgZitiKobUMw1JKvgOTj33qKTnEjrPD L7PcvIPeI+5Yl093KB7yEdEc2Qy0=
X-Google-Smtp-Source: AGHT+IHXN4j8xW7sFW+U8RVklDwbxpAhTmgdfUlJRjcpz2hrkRZ7WLNbM4TEOtYONH58PXL/u4jI5Ap84OWI/6LQXxI=
X-Received: by 2002:a50:d797:0:b0:57c:628a:1759 with SMTP id 4fb4d7f45d1cf-57cbd696acbmr3592354a12.8.1718475175111; Sat, 15 Jun 2024 11:12:55 -0700 (PDT)
MIME-Version: 1.0
References: <6871AEAA-DC4D-408D-915A-22BF9627B5FC@mnot.net> <CACsn0cmpBDoPvSGrUB7c35FnMg=5XCnpqdKBaeO_J0zVe2Sn+A@mail.gmail.com>
In-Reply-To: <CACsn0cmpBDoPvSGrUB7c35FnMg=5XCnpqdKBaeO_J0zVe2Sn+A@mail.gmail.com>
From: Patrick Meenan <patmeenan@gmail.com>
Date: Sat, 15 Jun 2024 14:12:43 -0400
Message-ID: <CAJV+MGzBcn+TKDsHsBndVUgvDH0xoB-uqWvsxqrTjxuZFvDMdA@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="0000000000005e3157061af1aec6"
X-W3C-Hub-DKIM-Status: validation passed: (address=patmeenan@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-5.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, DMARC_PASS=-0.001, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_DB=-1, W3C_WL=-1
X-W3C-Scan-Sig: puck.w3.org 1sIXtb-007whJ-1x 879a9e8c59b1520337f3402ed5223625
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Working Group Last Call: Compression Dictionary Transport
Archived-At: <https://www.w3.org/mid/CAJV+MGzBcn+TKDsHsBndVUgvDH0xoB-uqWvsxqrTjxuZFvDMdA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/52021
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>

On Fri, Jun 14, 2024 at 1:37 PM Watson Ladd <watsonbladd@gmail.com> wrote:

> I support publication. I have however found two nits/lacuna in my
> understanding:
>
> 1: It's not clear to me that RFC 7932 actually supports user specified
> dictionaries. It's obvious what that support should be, but it isn't
> specified. Maybe I missed it and we should add a sentance somewhere or
> a reference.
>

Thanks. It's the cited shared-brotli draft that defines how user-defined
dictionaries are used with brotli streams. I've asked the team if they can
see about making it a stable RFC since the draft has expired. The actual
format and encoding sections for the stream format reference the draft
rather than the underlying brotli RFC.


>
> 2: In Section 5 I think we should add for clarity "The dictionary is
> treated as a raw dictionary as per section 5 of RFC 8878".
>
>
Thanks. I added that as well as made it clear that both of the defined
content-encodings are explicitly for the "raw" dictionary type with a link
to the "type" section of the "Use-As-Dictionary" response header where the
dictionary types are specified. Specifically, only "raw" is currently
defined but it does allow for forward compatibility if new dictionary types
prove to be valuable (which would require specific content-encodings that
are linked to the other dictionary types).

Hopefully that isn't too confusing but things get more complicated when you
want to use a dictionary format that is specific to a compression format.
In that case all sides need to know that it can only be used with that
specific format and it will use a different content-encoding to keep things
clean.

I updated the repository with the clarifications:
https://github.com/httpwg/http-extensions/pull/2809/files

They'll be picked up in the next draft release/publication after we get a
chance to gather any other suggestions.