python-hpilo icon indicating copy to clipboard operation
python-hpilo copied to clipboard

Elasticsearch 6 Strict Content-Type Checking

Open eternalyperplxed opened this issue 8 years ago • 0 comments

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.

eternalyperplxed avatar Nov 17 '17 13:11 eternalyperplxed