Skip to content

Commit 0f4c68d

Browse files
authored
add content-type header to reqs with json body (#55)
1 parent 9acdd93 commit 0f4c68d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: checks/http.go

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ func HttpTest(
5454
if err != nil {
5555
cobra.CheckErr("Failed to create request")
5656
}
57+
r.Header.Add("Content-Type", "application/json")
5758
} else {
5859
var err error
5960
r, err = http.NewRequest(request.Request.Method, fmt.Sprintf("%s%s",

Diff for: version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.8.2
1+
v1.9.0

0 commit comments

Comments
 (0)