blob: 3b37d3d4c56a4ab0638c024a5ab96acca93e65a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_SPDY_HPACK_CONSTANTS_H_
#define NET_SPDY_HPACK_CONSTANTS_H_
#include "base/basictypes.h"
// All section references below are to
// http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-05
// .
namespace net {
// The marker for a string literal that is stored unmodified (i.e.,
// without Huffman encoding) (from 4.1.2).
const uint8 kStringLiteralIdentityEncoded = 0x0;
const uint8 kStringLiteralIdentityEncodedSize = 1;
// The opcode for a literal header field without indexing (from
// 4.3.1).
const uint8 kLiteralNoIndexOpcode = 0x01;
const uint8 kLiteralNoIndexOpcodeSize = 2;
} // namespace net
#endif // NET_SPDY_HPACK_CONSTANTS_H_
|