Contact emails
tba...@chromium.org, be...@chromium.org, igri...@chromium.org
Spec
https://tools.ietf.org/html/draft-ietf-httpbis-client-hints-04#section-6.2
https://github.com/httpwg/http-extensions/issues/306
Summary and Motivation:
Client hints allow the user agent to provide device-specific preferences in the HTTP request headers, which can be used by the server for content negotiation to select appropriate responses. Device’s DPI and viewport size are examples of such configuration data that we support today.
As currently implemented, client hints are opt-in and are only sent for subresource requests of a response that provides the explicit opt-in signal, either via Accept-CH response header or equivalent HTML markup. The opt-in preference is not persisted across navigations, and the hints are thus not available on the initial request. This, in practice, severely limits the usefulness of such hints as a lot of the critical negotiation decisions need to be made on the initial request.
The client hints spec was recently updated to allow origins to advertise client hints opt-in for a longer duration via the newly defined Accept-CH-Lifetime HTTP response header. The user agent is then expected to persist the advertised preference and provide specified client hints on all subsequent requests to that origin for the specified period.
Interoperability and Compatibility Risk:
Low. Opt-in header and extension to Client hints API.
Ongoing technical constraints:
None.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Requesting Approval to Ship?
No.
OWP launch tracking bug:
No launch bug because not requesting approval to ship yet.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/2c177075-7909-44e8-acb7-cb841f5b9a3f%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/36b98cba-275c-4dc2-a363-1f74b4ac15d6%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABc02_Kekz93PwPRkTas9Ux4Ke2oY-kGyGYtGHeEhDN%2BhCRfCg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/8fc5d1cb-0646-4f28-8454-93fb8fc6344d%40chromium.org.
On Thu, Jun 22, 2017 at 2:32 PM, Tarun Bansal <tba...@chromium.org> wrote:
> Spec
>
> https://tools.ietf.org/html/draft-ietf-httpbis-client-hints-04#section-6.2
It seems this would also require corresponding changes to Fetch?
--
https://annevankesteren.nl/