envoyproxy/envoy

There is currently no support for encoding grpc trailers in HTTP responses using the GRPC HTTP1 Reverse Bridge

Open

#12,545 opened on Aug 7, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C++ (5,373 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

In the GRPC HTTP1 Reverse Bridge, there is currently no support to encode custom trailers in the GrpcWeb responses, that will be translated back to GRPC Response trailers. Currently, it seems that just the grpc-status is auto-inferred using the HTTP response code.

Is this something that can be added?

Here is the code for the grpc http1 reverse bridge: https://github.com/envoyproxy/envoy/tree/5248a4fb7d4c2a3d1fa151f944d3a63f6b7a06cf/source/extensions/filters/http/grpc_http1_reverse_bridge

Contributor guide