Skip to content

Commit

Permalink
Fix http plugin content type header (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfarr authored Jan 7, 2025
1 parent 7cdd92c commit f8b8f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/plugins/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (w *HttpWorker) Process(data []byte, body []byte) (bool, error) {
}

// set non-overridable headers
httpData.Headers["Content-Type"] = "application/json"
req.Header.Set("Content-Type", "application/json")

res, err := w.client.Do(req)
if err != nil {
Expand Down

0 comments on commit f8b8f36

Please sign in to comment.