Improve an error message
diff --git a/transport/http_util.go b/transport/http_util.go index f9d9fdf..f1233fa 100644 --- a/transport/http_util.go +++ b/transport/http_util.go
@@ -143,7 +143,7 @@ switch f.Name { case "content-type": if !strings.Contains(f.Value, "application/grpc") { - d.err = StreamErrorf(codes.FailedPrecondition, "transport: received the unexpected header") + d.err = StreamErrorf(codes.FailedPrecondition, "transport: received the unexpected content-type %q", f.Value) return } case "grpc-encoding":