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

Fix the gRPC User-Agent header name #525

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

timostamm
Copy link
Member

The gRPC-web protocol uses X-User-Agent, but gRCP uses the standard header User-Agent.

The gRCP transports mistakenly set the X-User-Agent header, like the gRCP-web transport. This PR corrects that mistake to use User-Agent instead.

gRPC-web uses X-User-Agent, but gRCP uses the standard header User-Agent.

The gRCP transports mistakenly set the X-User-Agent header. This PR corrects that mistake to use User-Agent instead.
@timostamm timostamm requested a review from smaye81 March 12, 2023 18:37
Copy link
Member

@smaye81 smaye81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes seem to already be in the CORS export PR right?

@timostamm
Copy link
Member Author

These changes seem to already be in the CORS export PR right?

Yes, did this in one go, but splitting it up so we have a comprehensible changelog.

@timostamm timostamm merged commit 141f8b5 into main Mar 13, 2023
@timostamm timostamm deleted the tstamm/fix-grpc-user-agent-header branch March 13, 2023 16:39
This was referenced Mar 15, 2023
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.

2 participants