Skip to content

Commit

Permalink
Update Header Field name rules
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-mastrangelo committed Sep 11, 2015
1 parent 35fea62 commit 1b23976
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/PROTOCOL-HTTP2.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ Request-Headers are delivered as HTTP2 headers in HEADERS + CONTINUATION frames.
* **User-Agent** → “user-agent” {_structured user-agent string_}
* **Message-Type** → “grpc-message-type” {_type name for message schema_}
* **Custom-Metadata** → Binary-Header / ASCII-Header
* **Binary-Header** → {lowercase ASCII header name ending in “-bin” } {_base64 encoded value_}
* **ASCII-Header** → {lowercase ASCII header name} {_value_}
* **Binary-Header** → {Header-Name “-bin” } {_base64 encoded value_}
* **ASCII-Header** → Header-Name {_value_}
* **Header-Name** → 1*( %x30-39 / %x41-5A / “_” / “-”)


HTTP2 requires that reserved headers, ones starting with “:” appear before all other headers. Additionally implementations should send **Timeout** immediately after the reserved headers and they should send the **Call-Definition** headers before sending **Custom-Metadata**.
Expand Down

0 comments on commit 1b23976

Please sign in to comment.