Skip to content

Commit

Permalink
fix: set content type
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinkim committed Dec 10, 2024
1 parent d5a8496 commit f5d0d00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/client/mpv2.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ func (c *MPv2) SendRaw(r *http.Request, payload *mpv2.Payload[any]) error {

// TODO valiate: copy headers
req.Header = r.Header.Clone()
req.Header.Set("Content-Type", "application/json")

// forward cookies
for _, cookie := range c.cookies {
Expand Down

0 comments on commit f5d0d00

Please sign in to comment.