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

This commit is contained in:
Fuyang Liu
2021-04-13 09:28:02 +02:00
committed by GitHub
parent 1d2754feba
commit 0b535985c8
+1 -2
View File
@@ -198,11 +198,10 @@ pub struct OccupiedEntry<'a, VE: ValueEncoding> {
impl MetadataMap {
// Headers reserved by the gRPC protocol.
pub(crate) const GRPC_RESERVED_HEADERS: [&'static str; 8] = [
pub(crate) const GRPC_RESERVED_HEADERS: [&'static str; 7] = [
"te",
"user-agent",
"content-type",
"grpc-timeout",
"grpc-message",
"grpc-encoding",
"grpc-message-type",