1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00

default the content type to json (#2412)

This commit is contained in:
Asim Aslam 2022-01-11 13:36:20 +00:00 committed by GitHub
parent 3a999a0db6
commit 1e2d197c7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ type readWriteCloser struct {
}
var (
DefaultContentType = "application/protobuf"
DefaultContentType = "application/json"
DefaultCodecs = map[string]codec.NewCodec{
"application/grpc": grpc.NewCodec,