Closed missinglink closed 5 years ago
This PR explicitly sets the Content-Type header for all JSON requests to Elasticsearch. These headers are required in ES6+ where strict content-type checking is enforced.
Content-Type
related to https://github.com/geocodeearth/terraform/pull/76 & https://github.com/orangejulius/elasticsearch-bash-utils/pull/1
Tested and working, merging.
This PR explicitly sets the
Content-Type
header for all JSON requests to Elasticsearch. These headers are required in ES6+ where strict content-type checking is enforced.related to https://github.com/geocodeearth/terraform/pull/76 & https://github.com/orangejulius/elasticsearch-bash-utils/pull/1