mirror of https://github.com/grpc/grpc-go.git
:authority is a pseudo-header
This commit is contained in:
parent
0639042e75
commit
ad3b2b5492
|
|
@ -116,8 +116,7 @@ func isReservedHeader(hdr string) bool {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
switch hdr {
|
switch hdr {
|
||||||
case "authority",
|
case "content-type",
|
||||||
"content-type",
|
|
||||||
"grpc-message-type",
|
"grpc-message-type",
|
||||||
"grpc-encoding",
|
"grpc-encoding",
|
||||||
"grpc-message",
|
"grpc-message",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue