Add grpc content-type
This commit is contained in:
parent
c03b95cb79
commit
756857f1a6
1
codec.go
1
codec.go
@ -30,6 +30,7 @@ var (
|
|||||||
"application/proto": protoCodec{},
|
"application/proto": protoCodec{},
|
||||||
"application/protobuf": protoCodec{},
|
"application/protobuf": protoCodec{},
|
||||||
"application/octet-stream": protoCodec{},
|
"application/octet-stream": protoCodec{},
|
||||||
|
"application/grpc": protoCodec{},
|
||||||
"application/grpc+json": jsonCodec{},
|
"application/grpc+json": jsonCodec{},
|
||||||
"application/grpc+proto": protoCodec{},
|
"application/grpc+proto": protoCodec{},
|
||||||
"application/grpc+bytes": bytesCodec{},
|
"application/grpc+bytes": bytesCodec{},
|
||||||
|
Loading…
Reference in New Issue
Block a user