Merge pull request #5499 from anubhavmishra/master

Moving octet-stream to json for remote http backend
This commit is contained in:
Paul Hinze 2016-03-10 18:54:41 -06:00
commit f45f981eb2
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 // 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.Header.Set("Content-MD5", b64)
req.ContentLength = int64(len(data)) req.ContentLength = int64(len(data))