benashford / rs-es

A Rust client for the ElasticSearch REST API
Apache License 2.0
217 stars 44 forks source link

provide content-type for requests as required by ES6.x onwards #127

Closed SeanBE closed 5 years ago

SeanBE commented 5 years ago

It looks like the change #114 was lost during the refactor from hyper to reqwest.

benashford commented 5 years ago

Cool, thanks for this 👍 It could have gone missing as the tests only test against ElasticSearch 2.0 at the moment, but given this change is backwards compatible anyway then let's bring it back.

benashford commented 5 years ago

Released as 0.11.1