-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs - Add section about how HTTP maps to gRPC #227
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for contributing documentation. This is often the hardest thing to get right. I have a few suggestions that I think will add clarity but they are just my opinions. Tell me what you think and let's get this PR merged.
Thanks again!
@@ -220,6 +220,14 @@ But patch is welcome. | |||
* Encoding request/response body in XML | |||
* True bi-directional streaming. (Probably impossible?) | |||
|
|||
# Mapping gRPC to HTTP | |||
|
|||
* [gRPC to HTTP header code mappings](https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go#L15) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It isn't really a "header code" it is a http status code.
# Mapping gRPC to HTTP | ||
|
||
* [gRPC to HTTP header code mappings](https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go#L15) | ||
* HTTP request source IP is added as `X-Forwarded-For` gRPC metadata |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is added as a gRPC header
This looks good to me. @yugui do you know what's up with the cla bot? |
@achew22 I have a CLA on file, if you can verify through my Github username. |
LGTM. Thank you for your contribution. |
* Docs - Add section about how HTTP maps to gRPC * README - Incorporate code review feedback Feedback from @achew22 for github.com/grpc-ecosystem#227
No description provided.