gRPC HTTP/1.1 bridge

    • If so, when the response is received, the filter buffers it and waits for trailers and then checks the grpc-status code. If it is not zero, the filter switches the HTTP response code to 503. It also copies the grpc-status and grpc-message trailers into the response headers so that the client can look at them if it wishes.
    • The client should send HTTP/1.1 requests that translate to the following pseudo headers:
      • :method: POST
      • :path:
    • The body should be the serialized grpc body which is:
      • 1 byte of zero (not compressed).
      • network order 4 bytes of proto message length.
      • serialized proto message.