Remove grpc-timeout header from reserved headers (#603)
This commit is contained in:
@@ -198,11 +198,10 @@ pub struct OccupiedEntry<'a, VE: ValueEncoding> {
|
|||||||
|
|
||||||
impl MetadataMap {
|
impl MetadataMap {
|
||||||
// Headers reserved by the gRPC protocol.
|
// 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",
|
"te",
|
||||||
"user-agent",
|
"user-agent",
|
||||||
"content-type",
|
"content-type",
|
||||||
"grpc-timeout",
|
|
||||||
"grpc-message",
|
"grpc-message",
|
||||||
"grpc-encoding",
|
"grpc-encoding",
|
||||||
"grpc-message-type",
|
"grpc-message-type",
|
||||||
|
|||||||
Reference in New Issue
Block a user