Moving octet-stream to json for remote http backend

This commit is contained in:
Anubhav Mishra 2016-03-07 18:39:41 -08:00
parent ec5643f031
commit f58290c83f
1 changed files with 1 additions and 1 deletions

View File

@ -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))