Skip to content
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

Merged
merged 2 commits into from
Oct 4, 2016
Merged

Docs - Add section about how HTTP maps to gRPC #227

merged 2 commits into from
Oct 4, 2016

Conversation

philipithomas
Copy link
Contributor

No description provided.

Copy link
Collaborator

@achew22 achew22 left a 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)
Copy link
Collaborator

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
Copy link
Collaborator

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

@achew22
Copy link
Collaborator

achew22 commented Oct 1, 2016

This looks good to me. @yugui do you know what's up with the cla bot?

@philipithomas
Copy link
Contributor Author

@achew22 I have a CLA on file, if you can verify through my Github username.

@yugui
Copy link
Member

yugui commented Oct 4, 2016

LGTM. Thank you for your contribution.

@yugui yugui merged commit 372984b into grpc-ecosystem:master Oct 4, 2016
@tamalsaha tamalsaha mentioned this pull request Mar 30, 2017
1 task
adasari pushed a commit to adasari/grpc-gateway that referenced this pull request Apr 9, 2020
* Docs - Add section about how HTTP maps to gRPC

* README - Incorporate code review feedback

Feedback from @achew22 for github.com/grpc-ecosystem#227
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants