Describe the bug
When exposing an endpoint via transcoding the accept header seems to require "application/json". This makes it a challenge when you are, say, adding a health check route and you don't have control over what the service sends as a request header.
To Reproduce
a minimal service definition
message HealthCheckRequest {
}
message HealthCheckResponse {
}
service Health {
rpc Check(HealthCheckRequest) returns (HealthCheckResponse){
option (google.api.http) = {
get: "/_health"
};
}
}
2025-09-08T15:25:42.607 [error] ** (GRPC.Server.Adapters.ReportException) Exception raised while handling /_health:
** (GRPC.RPCError) Message is malformed.