OpenSearch/client/rest-high-level
Tanguy Leroux ad355f3e0b Forbid direct usage of ContentType.create() methods (#26457)
It's easy to create a wrong Content-Type header when converting a 
XContentType to a Apache HTTP ContentType instance.

This commit the direct usages of ContentType.create() methods in favor of a Request.createContentType(XContentType) method that does the right thing.

Closes #26438
2017-09-06 09:58:46 +02:00
..
src Forbid direct usage of ContentType.create() methods (#26457) 2017-09-06 09:58:46 +02:00
build.gradle Forbid direct usage of ContentType.create() methods (#26457) 2017-09-06 09:58:46 +02:00