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

Header Forwarding from server. #73

Closed
sadlil opened this issue Dec 15, 2015 · 2 comments
Closed

Header Forwarding from server. #73

sadlil opened this issue Dec 15, 2015 · 2 comments

Comments

@sadlil
Copy link

sadlil commented Dec 15, 2015

@yugui With the specified header Prefix we can forward header from gateway to the grpc server and can get it within the context. But can't forward header from the server to the client with the gateway.

Grpc server can send header with the context with

grpc.SendHeader(context, header-metadata)

But the header is truncated in the gateway. The forwarded header is not received by the client.
Are there any work progress in it or any other ways to doing it.

@yugui
Copy link
Member

yugui commented Jan 26, 2016

#93 helps us to forward headers (and trailers).

Also it would be better to let the gateway forward them by default.

@yugui
Copy link
Member

yugui commented Feb 19, 2016

Solved by #93

@yugui yugui closed this as completed Feb 19, 2016
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

No branches or pull requests

2 participants