Skip to content

Commit

Permalink
Merge pull request grpc#9607 from grpc/wenbozhu-patch-2
Browse files Browse the repository at this point in the history
Update PROTOCOL-WEB.md
  • Loading branch information
fengli79 authored Feb 6, 2017
2 parents d6d2677 + e5cf8f0 commit 20b08f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/PROTOCOL-WEB.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ HTTP/2 related behavior (specified in [gRPC over HTTP2](http://www.grpc.io/docs/
Message framing (vs. [http2-transport-mapping](http://www.grpc.io/docs/guides/wire.html#http2-transport-mapping))

1. Response status encoded as part of the response body
* Key-value pairs encoded in the HTTP/2 [literal header format](https://tools.ietf.org/html/rfc7541#section-6.2) as a single header block.
* Key-value pairs encoded as a HTTP/1 headers block (without the terminating newline).
2. 8th (MSB) bit of the 1st gRPC frame byte
* 0: data
* 1: trailers
3. Trailers must be the last message of the response, as enforced
by the implementation
4. Trailers-only responses: no change to the gRPC protocol spec.
Trailers will be sent together with response headers, with no message
Trailers may be sent together with response headers, with no message
in the body.

---
Expand Down

0 comments on commit 20b08f4

Please sign in to comment.