Skip to content

[sdk-platform-java] Investigate how to support extraHeaders for gRPC/ HttpJson #12493

Description

@lqiu96

For HttpJson: https://github.com/googleapis/sdk-platform-java/blob/main/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonMetadata.java#L43
For gRPC: https://github.com/grpc/grpc-java/blob/master/api/src/main/java/io/grpc/Metadata.java

Metadata is implemented with as a Map<String, List<String>> as a key can have multiple values.

We want to investigate how properly support or expand support for extraHeaders / Metadata values. Look into the use cases for having multiple values in each key and how to pick which value to use.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions