diff --git a/tonic/src/metadata/map.rs b/tonic/src/metadata/map.rs index b1886173d..177bb3c96 100644 --- a/tonic/src/metadata/map.rs +++ b/tonic/src/metadata/map.rs @@ -198,10 +198,11 @@ pub struct OccupiedEntry<'a, VE: ValueEncoding> { impl MetadataMap { // Headers reserved by the gRPC protocol. - pub(crate) const GRPC_RESERVED_HEADERS: [&'static str; 7] = [ + pub(crate) const GRPC_RESERVED_HEADERS: [&'static str; 8] = [ "te", "user-agent", "content-type", + "grpc-timeout", "grpc-message", "grpc-encoding", "grpc-message-type",