Skip to content

Commit

Permalink
[Telemetry] add missing content-type to headers (#116120)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bamieh authored Oct 25, 2021
1 parent 125c569 commit 1bc60b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/telemetry/server/fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ export class FetcherTask {
method: 'post',
body: stats,
headers: {
'Content-Type': 'application/json',
'X-Elastic-Stack-Version': this.currentKibanaVersion,
'X-Elastic-Cluster-ID': clusterUuid,
'X-Elastic-Content-Encoding': PAYLOAD_CONTENT_ENCODING,
Expand Down

0 comments on commit 1bc60b0

Please sign in to comment.