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

base64 decode binary metadata #270

Merged
merged 1 commit into from
May 4, 2021
Merged

Conversation

jwiklund
Copy link

According to https://github.com/grpc/grpc-go/blob/master/Documentation/grpc-metadata.md#storing-binary-data-in-metadata -bin metadata is base64 encoded in gRPC, but it's not possible to represent binary values in json. This assumes that any -bin metadata header should be decoded as base64 before passed along to gRPC.

@jwiklund jwiklund changed the title Decode base64 binary metadata base64 decode binary metadata Apr 27, 2021
@bojand bojand merged commit ff10171 into bojand:master May 4, 2021
@bojand
Copy link
Owner

bojand commented May 4, 2021

Hello, thanks for the PR. This should be in 0.95.0.

@jwiklund jwiklund deleted the binary-metadata branch May 4, 2021 05:28
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.

3 participants