draft-ietf-httpbis-client-hints-02, "2.2.1 Advertising Support for Client Hints"

Julian Reschke <julian.reschke@gmx.de> Fri, 07 October 2016 11:52 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 B7C1712956F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 7 Oct 2016 04:52:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.917
X-Spam-Level:
X-Spam-Status: No, score=-9.917 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.996, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 r8OydGDTCZ9u for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 7 Oct 2016 04:52:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AE08F129481 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 7 Oct 2016 04:52:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bsTdH-0005t5-Ot for ietf-http-wg-dist@listhub.w3.org; Fri, 07 Oct 2016 11:48:07 +0000
Resent-Date: Fri, 07 Oct 2016 11:48:07 +0000
Resent-Message-Id: <E1bsTdH-0005t5-Ot@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <julian.reschke@gmx.de>) id 1bsTdE-0005sJ-Fe for ietf-http-wg@listhub.w3.org; Fri, 07 Oct 2016 11:48:04 +0000
Received: from mout.gmx.net ([212.227.17.20]) by maggie.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from <julian.reschke@gmx.de>) id 1bsTdB-0003FJ-VX for ietf-http-wg@w3.org; Fri, 07 Oct 2016 11:48:03 +0000
Received: from [192.168.1.123] ([5.10.171.186]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LwGDy-1ap0XY3Eek-0183tN for <ietf-http-wg@w3.org>; Fri, 07 Oct 2016 13:47:34 +0200
To: ietf-http-wg@w3.org
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <305711ec-3ef5-a2c3-7be4-aef2ded0d195@gmx.de>
Date: Fri, 7 Oct 2016 13:47:36 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:W4hbkYZjQ62aHOUlJXZGh0+o9TpGm6FWD0GSBf/ZccK7hXqDSwi QN4qeq2VGMT1rIZU4E0GHp+eiI5yOiNotZakE0nSV9s1PZ4pc+gbVOobQMHDUwmBAgdB0C0 mHV+a2ssOmBV9chq2m475fFyrypGtM484qLnF92O1gEb4+DiaPcQipxvJzJ4O9XJ2U4Nd28 y8Q8kR1rk+Eu0VER0vMWQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:xklgRKpPSkU=:KI/Vc2nMS2ke1IB1UeXSKd RFZgGcxxUd0kHxoN6DrbuyhyGCtriOt57gzZ45Pmm9t7wXTIOHJMAh0DaAQw6o+R6F2LtMdis EWDW3RkOCM8ZPIyqVf97gGQJ+3I1S2KmSuOyjdyEFMJhoUV8XwrtKvXz1kTa98ombjtuSbcLA llsExEwbWvISZB1bg29zzqdscWXpv42TVt8CKgYSlXIeELsNnLy0niDh6g3xfLW4wU6ZqZ9HF au1im7pUeO/DSDcposKgHuenwnDuwmZLGPJM87cgkjwj9PN4Qya/3zyXFLQh79j6D8kKEDsnM CgTNY5qV39Mf/ytJg8Qr4Qn+hC60FWMAHl8io+LwZdZmjb8Eg25Cuchf3STpFXDMdJCPGfknL AgohTRcV0vGEjGnECR3MX19p6X7Qmel7Vkl1fOFpEGwB0/Q0eHHuCRvLiNsQcMK2Vb466Swb8 z/6UCKUvAgST9606YVtDUE8ew5n3a/Mcow5GT+bQ+Zy5Ls7KrpwH/hLi5siUhIuspgDMkTLGm tnMj308BkSC3cQG+ZqXK79Nn0qgWs9/T/p81h67rVE7xt65PYt/2NoxD3kmujuV+mAwN4Igks 1BhuIhvNffR8bqwxAlAz06y88t5Ny+B9syQlomIm0YKxrX8fFRGlhmtHDQjxj5ytiRF+0EOax mnBPMf1nLRxhDD4zVJbmF+7Drn76k8OjOekpYiiISge/tgb0CQE8lye2H/hMZycTF5mAdDit6 wnZLCqF7fxHJ01l3mAu0jyPQG5a2xVII9ANQ0BeUeoCwCcbQHtLxtGRU+VAb86HI7779+Egp5 8o3i1yV
Received-SPF: pass client-ip=212.227.17.20; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-8.5
X-W3C-Hub-Spam-Report: AWL=1.125, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1bsTdB-0003FJ-VX 90889f69e46c33139c858cd0a9520a41
X-Original-To: ietf-http-wg@w3.org
Subject: draft-ietf-httpbis-client-hints-02, "2.2.1 Advertising Support for Client Hints"
Archived-At: <http://www.w3.org/mid/305711ec-3ef5-a2c3-7be4-aef2ded0d195@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32518
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: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

<https://greenbytes.de/tech/webdav/draft-ietf-httpbis-client-hints-02.html#rfc.section.2.2.1>:

"Servers can advertise support for Client Hints using the Accept-CH 
header field or an equivalent HTML meta element with http-equiv 
attribute ([W3C.REC-html5-20141028])."

The HTML spec asks for extensions to be registered in 
<https://wiki.whatwg.org/wiki/PragmaExtensions>, but apparently that 
hasn't happened yet.

"When a client receives Accept-CH, or if it is capable of processing the 
HTML response and finds an equivalent HTML meta element, it SHOULD 
append the Client-Hint header fields that match the advertised 
field-values to the header list of all subsequent requests. For example, 
based on Accept-CH example above, a user agent could append DPR, Width, 
Viewport-Width, and Downlink header fields to all subresource requests 
initiated by the page constructed from the response. Alternatively, a 
client can treat advertised support as a persistent origin preference 
and append same header fields on all future requests initiated to and by 
the resources associated with that origin."

The "SHOULD" IMHO is problematic, as it isn't clear from the following 
text to what URIs it applies? All of the same origin? Only the same 
resource? Subresources?

Best regards, Julian