Module: HTTP2::Header

Defined in:
lib/http/2/compressor.rb

Overview

Implementation of header compression for HTTP 2.0 (HPACK) format adapted to efficiently represent HTTP headers in the context of HTTP 2.0.

Defined Under Namespace

Classes: CompressionContext, Compressor, Decompressor

Constant Summary collapse

HEADREP =

Header representation as defined by the spec.

{
  indexed:      {prefix: 7, pattern: 0x80},
  noindex:      {prefix: 5, pattern: 0x60},
  incremental:  {prefix: 5, pattern: 0x40},
  substitution: {prefix: 6, pattern: 0x00}
}