HTTP/2.0 Header Compression
draft-ietf-httpbis-header-compression-01

The information below is for an old version of the document
Document Type Active Internet-Draft (httpbis WG)
Last updated 2013-07-09
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: January 10, 2014                                      Canon CRF
                                                           July 09, 2013

                      HTTP/2.0 Header Compression
                draft-ietf-httpbis-header-compression-01

Abstract

   This document describes 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 January 10, 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.

Table of Contents

Peon & Ruellan          Expires January 10, 2014                [Page 1]
Internet-Draft        HTTP/2.0 Header Compression              July 2013

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Overview  . . . . . . . . . . . . . . . . . . . . . . . . . .   2
     2.1.  Outline . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Header Encoding . . . . . . . . . . . . . . . . . . . . . . .   3
     3.1.  Encoding Components . . . . . . . . . . . . . . . . . . .   3
     3.2.  Header Table  . . . . . . . . . . . . . . . . . . . . . .   4
     3.3.  Header Representation . . . . . . . . . . . . . . . . . .   5
       3.3.1.  Literal Representation  . . . . . . . . . . . . . . .   5
       3.3.2.  Indexed Representation  . . . . . . . . . . . . . . .   6
     3.4.  Differential Coding . . . . . . . . . . . . . . . . . . .   6
   4.  Detailed Format . . . . . . . . . . . . . . . . . . . . . . .   7
     4.1.  Header Blocks . . . . . . . . . . . . . . . . . . . . . .   7
     4.2.  Low-level representations . . . . . . . . . . . . . . . .   7
       4.2.1.  Integer representation  . . . . . . . . . . . . . . .   7
       4.2.2.  String literal representation . . . . . . . . . . . .   9
     4.3.  Indexed Header Representation . . . . . . . . . . . . . .   9
     4.4.  Literal Header Representation . . . . . . . . . . . . . .  10
       4.4.1.  Literal Header without Indexing . . . . . . . . . . .  10
       4.4.2.  Literal Header with Incremental Indexing  . . . . . .  10
       4.4.3.  Literal Header with Substitution Indexing . . . . . .  11
   5.  Parameter Negotiation . . . . . . . . . . . . . . . . . . . .  12
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .  13
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  13
   8.  Informative References  . . . . . . . . . . . . . . . . . . .  13
   Appendix A.  Initial header names . . . . . . . . . . . . . . . .  13
     A.1.  Requests  . . . . . . . . . . . . . . . . . . . . . . . .  14
     A.2.  Responses . . . . . . . . . . . . . . . . . . . . . . . .  15
   Appendix B.  Example  . . . . . . . . . . . . . . . . . . . . . .  16
     B.1.  First header set  . . . . . . . . . . . . . . . . . . . .  16
     B.2.  Second header set . . . . . . . . . . . . . . . . . . . .  17
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  18

1.  Introduction

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

2.  Overview

   In HTTP/1.X, HTTP headers, which are necessary for the functioning of
   the protocol, are transmitted with no transformations.
   Unfortunately, the amount of redundancy in both the keys and the
   values of these headers is astonishingly high, and is the cause of
   increased latency on lower bandwidth links.  This indicates that an
   alternate encoding for headers would be beneficial to latency, and
Show full document text