We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3e3808 commit 660debcCopy full SHA for 660debc
jamf/jamfprointegration/preprequest.go
@@ -24,7 +24,7 @@ import (
24
func (j *Integration) prepRequest(req *http.Request) error {
25
26
j.Sugar.Debugw("LOG-CONTENT-TYPE", "METHOD", req.Method)
27
- if req.Method != "READ" && req.Method != "DELETE" {
+ if req.Method != "GET" && req.Method != "DELETE" {
28
req.Header.Add("Content-Type", j.getContentTypeHeader(req.URL.String()))
29
}
30
0 commit comments