Moving octet-stream to json for remote http backend
This commit is contained in:
parent
ec5643f031
commit
f58290c83f
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue