python-hpilo
python-hpilo copied to clipboard
Elasticsearch 6 Strict Content-Type Checking
When running hpilo_es_import, the function fails with the following: elasticsearch.exceptions.TransportError: TransportError(406, u'Content-Type header [] is not supported')
ES6 introduced strict content-type checking which cannot be turned off. The REST call needs to be updated to include a valid content-type header.