Re: I-D Action: draft-ietf-httpbis-client-hints-12.txt

Ben Schwartz <bemasc@google.com> Wed, 11 March 2020 14:53 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 A04DF3A07FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Mar 2020 07:53:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.251
X-Spam-Level:
X-Spam-Status: No, score=-10.251 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, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6P4h-izMeD-x for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Mar 2020 07:53:25 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4BEA63A07BC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Mar 2020 07:53:24 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1jC2gK-0002rN-HG for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Mar 2020 14:50:00 +0000
Resent-Date: Wed, 11 Mar 2020 14:50:00 +0000
Resent-Message-Id: <E1jC2gK-0002rN-HG@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <bemasc@google.com>) id 1jC2gI-0002qc-L3 for ietf-http-wg@listhub.w3.org; Wed, 11 Mar 2020 14:49:58 +0000
Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by titan.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <bemasc@google.com>) id 1jC2gG-0003rU-PL for ietf-http-wg@w3.org; Wed, 11 Mar 2020 14:49:58 +0000
Received: by mail-wr1-x433.google.com with SMTP id v9so2977198wrf.10 for <ietf-http-wg@w3.org>; Wed, 11 Mar 2020 07:49:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=uFHpliS5B+bnllPWXCMnPD1rBbx/szsjN+7FyGnWDaI=; b=ZOy4zN8a8rUGdJnVKoOUdBT18ICuVEQnJCR4VA9sj2EsdfkEUEHpOgLm1/MSouNUKq al8H3/OL8hokfCgA1bxDgrkSLzcyTqwmt29vIn2Ts5HYERSaYy0izXmItbbrzO8h1NKH qnkyItJ4s4H4rB46SuXC5ItMvwAHZGSGLwmWUf1A4UDy6Pf1cMeiigzJZGdFQ25DSRju pfcDtRiLY08epJizZIhMoqoL7MbHU8VRNR2DTvmXMCctwuiXuRifHHFBzPcKOaB00Z1O gJwhReKWpS+/udO8R9A/JU20aCId3dkNjgJ5vrFeN0sPVvnKBqiyE3miy8x8RnduQT3x 4STw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=uFHpliS5B+bnllPWXCMnPD1rBbx/szsjN+7FyGnWDaI=; b=ibsv4v0MQ9gp64nGn9vNzUGsVt6eCWN+UCTMOIhcibzoU8N7UJAn+0dpR/Lb8zXzi2 d/KbjSivuNi9SgDIsJqS/9+Wb4ZkAgqUF6JEN5qeRIVYDkF+zccJn34ANoky+dlNqdtH HPvO5l2s5f2JPP29Xbf9QhaR2HMMZ5uYaxpVefLa707FI0B55OesP2NaYP/yGMjYtAZV YoOofFC0P08tt0Z8c1FNaj5i4udDYJW0k9OOxNvqHZgw8msjzqmbl1ojr++tnkl8T+Dc 2TyHhFlVZKnGpqY1h7D7BEpqOEK9CnqvUjlWM6p+qgsJDPelWJHQAd9jjA2zoblSO+RL OTtQ==
X-Gm-Message-State: ANhLgQ1MNeIQk+/AKrIDQdiNHvhok73lczn9sWtpGtDdoUeomiQY+G/b sq2BdKYYzz6PqxIGENLujHHb5kKlTezUekna+Hj7z2W+cD8=
X-Google-Smtp-Source: ADFU+vvOq7sFMV8gwlPRIAtOxGU+UVfElMuYb3EqNZ62Ew36wYeMA68hf8FwDURlVJCno0sd4Hmwi+TW8GZn37KeUnw=
X-Received: by 2002:adf:9501:: with SMTP id 1mr4937215wrs.426.1583938184406; Wed, 11 Mar 2020 07:49:44 -0700 (PDT)
MIME-Version: 1.0
References: <158391861358.1559.1950917408195457311@ietfa.amsl.com>
In-Reply-To: <158391861358.1559.1950917408195457311@ietfa.amsl.com>
From: Ben Schwartz <bemasc@google.com>
Date: Wed, 11 Mar 2020 10:49:32 -0400
Message-ID: <CAHbrMsBr6e7qrAzsM-121_e7ny_e8ewBaJWr+2fuYy2gOz0R3g@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="000000000000dd965b05a0955872"
Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=bemasc@google.com; helo=mail-wr1-x433.google.com
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: titan.w3.org 1jC2gG-0003rU-PL 83e8a1bde06aa846290609a3eb8134ee
X-Original-To: ietf-http-wg@w3.org
Subject: Re: I-D Action: draft-ietf-httpbis-client-hints-12.txt
Archived-At: <https://www.w3.org/mid/CAHbrMsBr6e7qrAzsM-121_e7ny_e8ewBaJWr+2fuYy2gOz0R3g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37440
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>

One thought from an outside perspective on this draft:
>
>    Therefore, features relying on this document to define Client Hint
>    headers MUST NOT provide new information that is otherwise not
>    available to the application via other means, such as existing
>    request headers, HTML, CSS, or JavaScript.


I understand the goal of this paragraph, but surely we would also like to
reduce information exposure via those channels, in order to channel
information through the client-hints mechanism, where it can be audited and
limited?  Perhaps "MUST NOT provide information that is otherwise not
avaliable at the time of standardization" would be clearer, or a sentence
like "However, reducing information exposure through other means does not
require deprecating the corresponding Client-Hint if one has already been
defined.".

On Wed, Mar 11, 2020 at 5:28 AM <internet-drafts@ietf.org> wrote:

>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
> This draft is a work item of the HTTP WG of the IETF.
>
>         Title           : HTTP Client Hints
>         Authors         : Ilya Grigorik
>                           Yoav Weiss
>         Filename        : draft-ietf-httpbis-client-hints-12.txt
>         Pages           : 12
>         Date            : 2020-03-11
>
> Abstract:
>    HTTP defines proactive content negotiation to allow servers to select
>    the appropriate response for a given request, based upon the user
>    agent's characteristics, as expressed in request headers.  In
>    practice, clients are often unwilling to send those request headers,
>    because it is not clear whether they will be used, and sending them
>    impacts both performance and privacy.
>
>    This document defines an Accept-CH response header that servers can
>    use to advertise their use of request headers for proactive content
>    negotiation, along with a set of guidelines for the creation of such
>    headers, colloquially known as "Client Hints."
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-httpbis-client-hints/
>
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-httpbis-client-hints-12
> https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-client-hints-12
>
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-ietf-httpbis-client-hints-12
>
>
> Please note that it may take a couple of minutes from the time of
> submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
>
>
>