From b1109180caa595a7179c4c601b56dd754dd029e6 Mon Sep 17 00:00:00 2001 From: Federico Kunze Date: Fri, 12 Oct 2018 19:12:57 -0700 Subject: [PATCH] add header --- x/gov/client/rest/rest.go | 1 + 1 file changed, 1 insertion(+) diff --git a/x/gov/client/rest/rest.go b/x/gov/client/rest/rest.go index 6d4a52ca14..b8aa2c0ea9 100644 --- a/x/gov/client/rest/rest.go +++ b/x/gov/client/rest/rest.go @@ -227,6 +227,7 @@ func queryDepositsHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.Ha return } + w.Header().Set("Content-Type", "application/json") w.Write(res) } }