HPACK - Header Compression for HTTP/2.0
draft-ietf-httpbis-header-compression-03

The information below is for an old version of the document
Document Type Active Internet-Draft (httpbis WG)
Last updated 2013-08-27
Stream IETF
Intended RFC status (None)
Formats pdf htmlized bibtex
Reviews
Stream WG state WG Document
Document shepherd None
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
HTTPbis Working Group                                            R. Peon
Internet-Draft                                               Google, Inc
Intended status: Informational                                H. Ruellan
Expires: February 28, 2014                                     Canon CRF
                                                         August 27, 2013

                HPACK - Header Compression for HTTP/2.0
                draft-ietf-httpbis-header-compression-03

Abstract

   This document describes HPACK, a format adapted to efficiently
   represent HTTP headers in the context of HTTP/2.0.

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 February 28, 2014.

Copyright Notice

   Copyright (c) 2013 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.

Peon & Ruellan          Expires February 28, 2014               [Page 1]
Internet-Draft                    HPACK                      August 2013

Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  3
   2.  Overview . . . . . . . . . . . . . . . . . . . . . . . . . . .  3
     2.1.  Outline  . . . . . . . . . . . . . . . . . . . . . . . . .  3
   3.  Header Encoding  . . . . . . . . . . . . . . . . . . . . . . .  3
     3.1.  Encoding Concepts  . . . . . . . . . . . . . . . . . . . .  3
       3.1.1.  Encoding Context . . . . . . . . . . . . . . . . . . .  4
       3.1.2.  Header Table . . . . . . . . . . . . . . . . . . . . .  4
       3.1.3.  Reference Set  . . . . . . . . . . . . . . . . . . . .  5
       3.1.4.  Header set . . . . . . . . . . . . . . . . . . . . . .  6
       3.1.5.  Header Representation  . . . . . . . . . . . . . . . .  6
       3.1.6.  Header Emission  . . . . . . . . . . . . . . . . . . .  6
     3.2.  Header Set Processing  . . . . . . . . . . . . . . . . . .  7
       3.2.1.  Header Representation Processing . . . . . . . . . . .  7
       3.2.2.  Reference Set Emission . . . . . . . . . . . . . . . .  7
       3.2.3.  Header Set Completion  . . . . . . . . . . . . . . . .  8
       3.2.4.  Header Table Management  . . . . . . . . . . . . . . .  8
   4.  Detailed Format  . . . . . . . . . . . . . . . . . . . . . . .  8
     4.1.  Low-level representations  . . . . . . . . . . . . . . . .  8
       4.1.1.  Integer representation . . . . . . . . . . . . . . . .  8
       4.1.2.  Header Name Representation . . . . . . . . . . . . . . 10
       4.1.3.  Header Value Representation  . . . . . . . . . . . . . 11
     4.2.  Indexed Header Representation  . . . . . . . . . . . . . . 11
     4.3.  Literal Header Representation  . . . . . . . . . . . . . . 11
       4.3.1.  Literal Header without Indexing  . . . . . . . . . . . 11
       4.3.2.  Literal Header with Incremental Indexing . . . . . . . 12
       4.3.3.  Literal Header with Substitution Indexing  . . . . . . 13
   5.  Parameter Negotiation  . . . . . . . . . . . . . . . . . . . . 15
   6.  Security Considerations  . . . . . . . . . . . . . . . . . . . 15
   7.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 16
   8.  References . . . . . . . . . . . . . . . . . . . . . . . . . . 16
     8.1.  Normative References . . . . . . . . . . . . . . . . . . . 16
     8.2.  Informative References . . . . . . . . . . . . . . . . . . 16
   Appendix A.  Change Log (to be removed by RFC Editor before
                publication . . . . . . . . . . . . . . . . . . . . . 17
     A.1.  Since draft-ietf-httpbis-header-compression-01 . . . . . . 17
     A.2.  Since draft-ietf-httpbis-header-compression-01 . . . . . . 17
   Appendix B.  Initial Header Tables . . . . . . . . . . . . . . . . 18
     B.1.  Requests . . . . . . . . . . . . . . . . . . . . . . . . . 18
     B.2.  Responses  . . . . . . . . . . . . . . . . . . . . . . . . 19
Show full document text