Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
ocm: fix content type verification
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode authored and vascoguita committed Oct 20, 2022
1 parent 9b39f5f commit 06acba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ocm/share/sender/sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func Send(requestBodyMap map[string]interface{}, pi *ocmprovider.ProviderInfo) e
if err != nil {
return errors.Wrap(err, "sender: error framing post request")
}
req.Header.Set("Content-Type", "application/json; param=value")
req.Header.Set("Content-Type", "application/json")
client := rhttp.GetHTTPClient(
rhttp.Timeout(5 * time.Second),
)
Expand Down

0 comments on commit 06acba1

Please sign in to comment.