Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
20b08f49
Commit
20b08f49
authored
Feb 6, 2017
by
Feng Li
Committed by
GitHub
Feb 6, 2017
Browse files
Options
Downloads
Plain Diff
Merge pull request #9607 from grpc/wenbozhu-patch-2
Update PROTOCOL-WEB.md
parents
d6d26776
e5cf8f0e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/PROTOCOL-WEB.md
+2
-2
2 additions, 2 deletions
doc/PROTOCOL-WEB.md
with
2 additions
and
2 deletions
doc/PROTOCOL-WEB.md
+
2
−
2
View file @
20b08f49
...
@@ -60,14 +60,14 @@ HTTP/2 related behavior (specified in [gRPC over HTTP2](http://www.grpc.io/docs/
...
@@ -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.
---
---
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment