Skip to content

Comments

Add support for REST to GRPC header pass through#36

Open
mlangc wants to merge 4 commits intobtlines:masterfrom
mlangc:add-header-support
Open

Add support for REST to GRPC header pass through#36
mlangc wants to merge 4 commits intobtlines:masterfrom
mlangc:add-header-support

Conversation

@mlangc
Copy link

@mlangc mlangc commented Nov 12, 2019

This is a first sketch to adapt the implementation to allow passing through selected headers from REST calls to the corresponding GRPC calls. This PR introduces the environment variable REST_TO_GRPC_PASS_THROUGH_HEADERS that can be used to define headers that are passed through unmodified from REST to GRPC metadata.

What is still missing is

  • documentation
  • fail on server startup and not on the first request for broken REST_TO_GRPC_PASS_THROUGH_HEADERS

Before taking care of the remaining issues I would like to hear your feedback though.

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.

1 participant