From f58290c83f89ba665d963337962c5b0789311fe5 Mon Sep 17 00:00:00 2001 From: Anubhav Mishra Date: Mon, 7 Mar 2016 18:39:41 -0800 Subject: [PATCH] Moving octet-stream to json for remote http backend --- state/remote/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state/remote/http.go b/state/remote/http.go index 1aca7652f295..ff8fdaa5f2cc 100644 --- a/state/remote/http.go +++ b/state/remote/http.go @@ -138,7 +138,7 @@ func (c *HTTPClient) Put(data []byte) error { } // Prepare the request - req.Header.Set("Content-Type", "application/octet-stream") + req.Header.Set("Content-Type", "application/json") req.Header.Set("Content-MD5", b64) req.ContentLength = int64(len(data))