浏览代码

Merge pull request #9607 from grpc/wenbozhu-patch-2

Update PROTOCOL-WEB.md
Feng Li 8 年之前
父节点
当前提交
20b08f497e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      doc/PROTOCOL-WEB.md

+ 2 - 2
doc/PROTOCOL-WEB.md

@@ -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))
 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
 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
 2. 8th (MSB) bit of the 1st gRPC frame byte
   * 0: data
   * 0: data
   * 1: trailers
   * 1: trailers
 3. Trailers must be the last message of the response, as enforced
 3. Trailers must be the last message of the response, as enforced
 by the implementation
 by the implementation
 4. Trailers-only responses: no change to the gRPC protocol spec.
 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.
 in the body.
 
 
 ---
 ---