Repository navigation
Commit 7d13bbf
committed
statuscake: set correct content-type
For inserts and updates, the content-type is required. Since a
little while ago, the statuscake stopped working when the content-type
is missing.
I validated this by replicating the request in cURL and ommitting
the content-type. It indeed gave a 400 bad request. Apparently the
Go HTTP client does not insert the correct content-type by itself.1 parent b31dca6 commit 7d13bbf
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
| 630 | + | |
630 | 631 | | |
631 | 632 | | |
632 | 633 | | |
| |||
701 | 702 | | |
702 | 703 | | |
703 | 704 | | |
| 705 | + | |
704 | 706 | | |
705 | 707 | | |
706 | 708 | | |
| |||
0 commit comments