Merge pull request #5499 from anubhavmishra/master
Moving octet-stream to json for remote http backend
This commit is contained in:
commit
f45f981eb2
|
@ -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))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue