:authority is a pseudo-header

This commit is contained in:
iamqizhao
2015-02-19 13:25:27 -08:00
parent 0639042e75
commit ad3b2b5492

View File

@ -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",