Revert "Remove grpc-timeout header from reserved headers (#603)"

This reverts commit 0b535985c8.
This commit is contained in:
Lucio Franco
2021-04-13 21:59:16 +00:00
parent 49f6137673
commit 7aaa2f85d9
+2 -1
View File
@@ -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",