Skip to content

Commit

Permalink
default the content type to json (#2412)
Browse files Browse the repository at this point in the history
  • Loading branch information
asim authored Jan 11, 2022
1 parent 3a999a0 commit 1e2d197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/rpc_codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type readWriteCloser struct {
}

var (
DefaultContentType = "application/protobuf"
DefaultContentType = "application/json"

DefaultCodecs = map[string]codec.NewCodec{
"application/grpc": grpc.NewCodec,
Expand Down

0 comments on commit 1e2d197

Please sign in to comment.