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

Unable to override Request User-Agent using metadata #407

Open
zadamz opened this issue Mar 7, 2023 · 0 comments
Open

Unable to override Request User-Agent using metadata #407

zadamz opened this issue Mar 7, 2023 · 0 comments

Comments

@zadamz
Copy link

zadamz commented Mar 7, 2023

Hello All,

Each client in our system has unique user-agent assigned to them.
We have a service that validates the request based on value set in "User-Agent" header/metadata in request.

I have tried to set the metadata in request using --metadata-file=mymetadata.json.

But server always receives User-Agent as "grpc-go/1.45.0". No matter what I set.

Is there any other way to set the UserAgent or am I missing some step?

Do point me to any reference/documentation I may have missed.

Thanks and Regards,
Adam

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

1 participant