well-typed / grapesy

Native Haskell gRPC client and server based on `http2`
Other
38 stars 4 forks source link

Deal with duplicate header names for custom metadata #97

Closed edsko closed 6 months ago

edsko commented 7 months ago

The spec requires

Custom-Metadata header order is not guaranteed to be preserved except for values with duplicate header names. Duplicate header names may have their values joined with "," as the delimiter and be considered semantically equivalent. Implementations must split Binary-Headers on "," before decoding the Base64-encoded values.

We do not currently do this.