:authority is a pseudo-header
This commit is contained in:
@ -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",
|
||||||
|
Reference in New Issue
Block a user