OpenSearch/client/rest
javanna 1ea8f865d6 Add response body to ResponseException error message
Consuming the response body to make it part of the exception message means that it may not be readable anymore later, depending on whether the entity is repeatable or not. Turns out that the response body tells a lot about the error itself, and considering that we don't expect bodies to be incredibly big for errors, we can wrap the entity into a BufferedHttpEntity to make it repeatable.

Closes #19622
2016-07-28 14:44:20 +02:00
..
licenses Build: use license mapping for http* and commons-* 2016-07-19 15:16:45 +02:00
src Add response body to ResponseException error message 2016-07-28 14:44:20 +02:00
build.gradle Build: use license mapping for http* and commons-* 2016-07-19 15:16:45 +02:00