OK, this is bugging me a bit, and in lieu of actually wrting some code myself and breaking out wireshark or similar, when setting gRPC error codes, do the equivalent status codes get set in the HTTP headers? I know there is a conceptual mapping between the two (e.g. https://chromium.googlesource.com/external/github.com/grpc/grpc/+/refs/tags/v1.21.4-pre1/doc/statuscodes.md), but not sure if that means a gRPC server will actually set those codes...
↧