mirror of
https://github.com/go-micro/go-micro.git
synced 2025-06-12 22:07:47 +02:00
default the content type to json (#2412)
This commit is contained in:
@ -50,7 +50,7 @@ type readWriteCloser struct {
|
||||
}
|
||||
|
||||
var (
|
||||
DefaultContentType = "application/protobuf"
|
||||
DefaultContentType = "application/json"
|
||||
|
||||
DefaultCodecs = map[string]codec.NewCodec{
|
||||
"application/grpc": grpc.NewCodec,
|
||||
|
Reference in New Issue
Block a user