Skip to content

Commit

Permalink
Moving octet-stream to json for remote http backend
Browse files Browse the repository at this point in the history
  • Loading branch information
Anubhav Mishra committed Mar 8, 2016
1 parent ec5643f commit f58290c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state/remote/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit f58290c

Please sign in to comment.