HTTP Client Hints
draft-ietf-httpbis-client-hints-03

Document Type Active Internet-Draft (httpbis WG)
Last updated 2016-12-02
Replaces draft-grigorik-http-client-hints
Stream IETF
Intended RFC status Experimental
Formats plain text xml pdf html bibtex
Stream WG state WG Consensus: Waiting for Write-Up
Document shepherd Mark Nottingham
Shepherd write-up Show (last changed 2016-11-21)
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to "Mark Nottingham" <mnot@mnot.net>
HTTP Working Group                                           I. Grigorik
Internet-Draft                                                    Google
Intended status: Experimental                           December 2, 2016
Expires: June 5, 2017

                           HTTP Client Hints
                   draft-ietf-httpbis-client-hints-03

Abstract

   An increasing diversity of Web-connected devices and software
   capabilities has created a need to deliver optimized content for each
   device.

   This specification defines a set of HTTP request header fields,
   colloquially known as Client Hints, to address this.  They are
   intended to be used as input to proactive content negotiation; just
   as the Accept header field allows clients to indicate what formats
   they prefer, Client Hints allow clients to indicate a list of device
   and agent specific preferences.

Note to Readers

   Discussion of this draft takes place on the HTTP working group
   mailing list (ietf-http-wg@w3.org), which is archived at
   https://lists.w3.org/Archives/Public/ietf-http-wg/ .

   Working Group information can be found at http://httpwg.github.io/ ;
   source code and issues list for this draft can be found at
   https://github.com/httpwg/http-extensions/labels/client-hints .

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on June 5, 2017.

Grigorik                  Expires June 5, 2017                  [Page 1]
Internet-Draft              HTTP Client Hints              December 2016

Copyright Notice

   Copyright (c) 2016 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Notational Conventions  . . . . . . . . . . . . . . . . .   3
   2.  Client Hint Request Header Fields . . . . . . . . . . . . . .   4
     2.1.  Sending Client Hints  . . . . . . . . . . . . . . . . . .   4
     2.2.  Server Processing of Client Hints . . . . . . . . . . . .   4
       2.2.1.  Advertising Support for Client Hints  . . . . . . . .   4
       2.2.2.  Interaction with Caches . . . . . . . . . . . . . . .   5
   3.  The DPR Client Hint . . . . . . . . . . . . . . . . . . . . .   6
     3.1.  Confirming Selected DPR . . . . . . . . . . . . . . . . .   6
   4.  The Width Client Hint . . . . . . . . . . . . . . . . . . . .   7
   5.  The Viewport-Width Client Hint  . . . . . . . . . . . . . . .   7
   6.  The Downlink Client Hint  . . . . . . . . . . . . . . . . . .   7
   7.  The Save-Data Client Hint . . . . . . . . . . . . . . . . . .   8
   8.  Examples  . . . . . . . . . . . . . . . . . . . . . . . . . .   8
   9.  Security Considerations . . . . . . . . . . . . . . . . . . .   9
   10. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  10
     10.1.  Accept-CH  . . . . . . . . . . . . . . . . . . . . . . .  10
     10.2.  Content-DPR  . . . . . . . . . . . . . . . . . . . . . .  10
     10.3.  Downlink . . . . . . . . . . . . . . . . . . . . . . . .  10
     10.4.  DPR  . . . . . . . . . . . . . . . . . . . . . . . . . .  10
     10.5.  Save-Data  . . . . . . . . . . . . . . . . . . . . . . .  11
     10.6.  Viewport-Width . . . . . . . . . . . . . . . . . . . . .  11
     10.7.  Width  . . . . . . . . . . . . . . . . . . . . . . . . .  11
   11. References  . . . . . . . . . . . . . . . . . . . . . . . . .  11
     11.1.  Normative References . . . . . . . . . . . . . . . . . .  11
     11.2.  Informative References . . . . . . . . . . . . . . . . .  12
   Appendix A.  Changes  . . . . . . . . . . . . . . . . . . . . . .  12
Show full document text