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