[Telemetry] add missing content-type to headers (#116120)

This commit is contained in:
Ahmad Bamieh 2021-10-25 17:30:35 +03:00 committed by GitHub
parent 125c569944
commit 1bc60b0115
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,