Skip to content

Commit 808d22b

Browse files
authored
Remove duplicate Content-type header (#4026)
The Grafana plugin is broken, because the generated request has two http header (Content-type and Content-Type). The later one, it the correct header and its added by \Deployer\Utility\Httpie::jsonBody
1 parent 2afaef6 commit 808d22b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

contrib/grafana.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161

6262
Httpie::post($config['url'])
6363
->header('Authorization', 'Bearer ' . $config['token'])
64-
->header('Content-type', 'application/json')
6564
->jsonBody($params)
6665
->send();
6766
});

0 commit comments

Comments
 (0)