Skip to content

Commit

Permalink
Merge pull request #5499 from anubhavmishra/master
Browse files Browse the repository at this point in the history
Moving octet-stream to json for remote http backend
  • Loading branch information
phinze committed Mar 11, 2016
2 parents ededbb5 + f58290c commit f45f981
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 f45f981

Please sign in to comment.