diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2018-10-19 17:38:23 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2018-10-19 17:38:23 +0200 |
commit | 3977c30f475469206833cc6fc1b811f3cc404312 (patch) | |
tree | cddc91ff331b6254695c738215e257a4b597786c /doc | |
parent | 20c848e88d3356195fa70dbb4fe1afee271b735a (diff) |
add a note message length encoding
Diffstat (limited to 'doc')
-rw-r--r-- | doc/PROTOCOL-HTTP2.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/PROTOCOL-HTTP2.md b/doc/PROTOCOL-HTTP2.md index bdd00ca363..a354dad863 100644 --- a/doc/PROTOCOL-HTTP2.md +++ b/doc/PROTOCOL-HTTP2.md @@ -92,7 +92,7 @@ The repeated sequence of **Length-Prefixed-Message** items is delivered in DATA * **Length-Prefixed-Message** → Compressed-Flag Message-Length Message * <a name="compressed-flag"></a>**Compressed-Flag** → 0 / 1 # encoded as 1 byte unsigned integer -* **Message-Length** → {_length of Message_} # encoded as 4 byte unsigned integer +* **Message-Length** → {_length of Message_} # encoded as 4 byte unsigned integer (big endian) * **Message** → \*{binary octet} A **Compressed-Flag** value of 1 indicates that the binary octet sequence of **Message** is compressed using the mechanism declared by the **Message-Encoding** header. A value of 0 indicates that no encoding of **Message** bytes has occurred. Compression contexts are NOT maintained over message boundaries, implementations must create a new context for each message in the stream. If the **Message-Encoding** header is omitted then the **Compressed-Flag** must be 0. |