elasticsearch/elasticsearch — pull request #7710 by javanna (2014-09-12 15:13:46+00:00)
Title: [TEST] Expose ability to provide http headers when sending requests in our REST tests

`ElasticsearchRestTests` has now a `restClientSettings` method that can be overriden to provide headers as settings (similarly to what we do with transport client). Those headers will be sent together with every REST requests within the tests.