mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
When an HTTP input returns an error body, right now we check if the error code is below 400 and only then we include the body. However using another method from URLConnection, the body can be access always. Closes elastic/elasticsearch#1550 Original commit: elastic/x-pack-elasticsearch@1743fd0a77