Re: Deployment of draft-ietf-httpbis-cice (Client-Initiated Content-Encoding)

Wenbo Zhu <wenboz@google.com> Mon, 03 October 2022 18:24 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 CE7CAC1524DE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 3 Oct 2022 11:24:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -12.562
X-Spam-Level:
X-Spam-Status: No, score=-12.562 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, 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_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_ZEN_BLOCKED_OPENDNS=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 0Vq3TXzZ71fe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 3 Oct 2022 11:24:15 -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 D94DCC14F612 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 3 Oct 2022 11:24:14 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ofQ45-009IhM-EQ for ietf-http-wg-dist@listhub.w3.org; Mon, 03 Oct 2022 18:21:17 +0000
Resent-Date: Mon, 03 Oct 2022 18:21:17 +0000
Resent-Message-Id: <E1ofQ45-009IhM-EQ@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 <wenboz@google.com>) id 1ofQ43-009Ig7-O0 for ietf-http-wg@listhub.w3.org; Mon, 03 Oct 2022 18:21:15 +0000
Received: from mail-yw1-x1135.google.com ([2607:f8b0:4864:20::1135]) by mimas.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <wenboz@google.com>) id 1ofQ42-007Mbp-24 for ietf-http-wg@w3.org; Mon, 03 Oct 2022 18:21:15 +0000
Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-35711e5a5ceso74600467b3.13 for <ietf-http-wg@w3.org>; Mon, 03 Oct 2022 11:21:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=sLp1lmgQf5CjoHEO25dU8IiuRrfc16tEYHx/IZv90JA=; b=nuwtkdlrwAdnsAiVXbkBu4vaIZ3W9auL5aI3CZiGvfi4ie2jWmFaFGFAS3ph861JR9 convw+YIdK1oB+eezj9eXOPF3bf09v/ufVLMpoplEfRYSLjZy23aKOXpM8U+bFeljfuT zKwspIdR7Dp6gw7VUQVZpVYW1Xipq/K5b9h3z3KcP+Eq1HmStwf0AL96vdQ4m/B9jjgJ qczuWZrYNlOsRgnmrAUgaJXm2jEeY+8f1XdgVE2QLz8Q5vqzdfvzZReLBxblFWYKjGGT J8tuvX3cEsjMF7RNxtp8wPN3YuO7Ie/PP267reWmJytZbHbH1I+aErTfeio/BWW162AP 7N+Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=sLp1lmgQf5CjoHEO25dU8IiuRrfc16tEYHx/IZv90JA=; b=TgsFSLtNkO8QTKuENk2JJvvqL1fDv+esVHew9sfDNrrSY9oJRxJ9WbqaC4YpXgket/ 7SKCAzTVYRrWyKWWCiez6s+KH/yRYmxvSCIVhVb44VrCwODlIwCZlSGV0OrZGv/VzTvZ gQc3aOf1UTdtskiKxf1dyO+PPDjSGuT39kFK0qhB4oDIQ8Pjf+LuXzH8EhNcI2otcQHL S1A0E7eQrLthFsIeSmztlnvs4dIxvKxh2APKTj9urEH+ev4VgP0QV4CxicsmZh1eo6wb qyHbNr6MYKruY/sCFI6Lb82SmPN70D+ASnAwRBuBLKX8bu+eMroamrGRqo4gozOCA1Zs 9jRg==
X-Gm-Message-State: ACrzQf0lHfgqsSNYUrATKS9RwtMTMP0R5lJAmK4CylydmiT8APAqaKNZ ZkEGfODbrA8iMN76T4iNflaWzf5wawrHvm/kmmJbQ98ki84=
X-Google-Smtp-Source: AMsMyM6FqKcESOUabZNgZXkNI77xrlO99ZXPhyE4O0CK7G6mGXr+ZJIT3+GPO1KGhAp+UfpT+r1qZDvkuSpi+8lNpyg=
X-Received: by 2002:a0d:d6cb:0:b0:354:f085:befa with SMTP id y194-20020a0dd6cb000000b00354f085befamr20333729ywd.76.1664821261838; Mon, 03 Oct 2022 11:21:01 -0700 (PDT)
MIME-Version: 1.0
References: <CAD3-0rNTsm7QmXX8HohjjBpW_MZ8wy+2-EAuYS9YKXqy1eOhNA@mail.gmail.com> <f67c02db-4d1b-a08c-e766-fead1c3c3a6f@gmx.de>
In-Reply-To: <f67c02db-4d1b-a08c-e766-fead1c3c3a6f@gmx.de>
From: Wenbo Zhu <wenboz@google.com>
Date: Mon, 03 Oct 2022 11:20:49 -0700
Message-ID: <CAD3-0rNeUO2DF9Uhnj9fRCDZ2S94tiG=Mzp7WLAV14uQpp-ByQ@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="000000000000ed9e1e05ea256717"
Received-SPF: pass client-ip=2607:f8b0:4864:20::1135; envelope-from=wenboz@google.com; helo=mail-yw1-x1135.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=wenboz@google.com domain=google.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-20.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5, W3C_AA=-1, W3C_DB=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1ofQ42-007Mbp-24 65f3fa9fa4960f2deab1ec9aaef3fc41
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Deployment of draft-ietf-httpbis-cice (Client-Initiated Content-Encoding)
Archived-At: <https://www.w3.org/mid/CAD3-0rNeUO2DF9Uhnj9fRCDZ2S94tiG=Mzp7WLAV14uQpp-ByQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40421
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>

We ran into a corner case in responding 415 to a br-compressed request on a
server which hasn't enabled br support.

When the client chooses to compress (br) an incompressible mime type (as
the server decides), the server will advise "A-E: gzip" instead of "A-E:
identity".





On Sun, Jun 25, 2017 at 3:47 AM Julian Reschke <julian.reschke@gmx.de>
wrote:

> On 2017-06-16 23:33, Wenbo Zhu wrote:
> > <https://tools.ietf.org/html/draft-ietf-httpbis-cice>
>
> Actually: RFC 7694 (https://www.greenbytes.de/tech/webdav/rfc7694.html)
>
> > I am planning to start to advise A-E with 415 responses.
>
> Awesome!
>
> > Questions to the working group:
> >
> > 1. Does CICE alone address the concern to support/enable request
> > compression in U-A?
>
> That was the intent of the spec.
>
> > 2. I suspect the success rate of non-negotiated use of (gzip) request
> > compression will be very high over Internet, esp. if the server
> > end-point is managed by the content author. Any suggestion otherwise?
>
> We've been using gzip-encoded request bodies for ages in WebDAV - just
> not in browsers.
>
> > 3. Any known deployment of gzip/brotli compression in browsers?
>
> Might be of interest:
> <https://bugzilla.mozilla.org/show_bug.cgi?id=1221461> (cc: Patrick :-).
>
> Best regards, Julian
>