From 1e2d197c7d5f0a6e82b587bdae497dc544e7fe7b Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Tue, 11 Jan 2022 13:36:20 +0000 Subject: [PATCH] default the content type to json (#2412) --- client/rpc_codec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/rpc_codec.go b/client/rpc_codec.go index 79b50ee5a5..6952471b93 100644 --- a/client/rpc_codec.go +++ b/client/rpc_codec.go @@ -50,7 +50,7 @@ type readWriteCloser struct { } var ( - DefaultContentType = "application/protobuf" + DefaultContentType = "application/json" DefaultCodecs = map[string]codec.NewCodec{ "application/grpc": grpc.NewCodec,