OpenSearch/test
Jason Tedor 9c3e4d6e22 Add correct Content-Length on HEAD requests
This commit fixes responses to HEAD requests so that the value of the
Content-Length is correct per the HTTP spec. Namely, the value of this
header should be equal to the Content-Length if the request were not a
HEAD request.

This commit also fixes a memory leak on HEAD requests to the main action
that arose from the bytes on a builder not being released due to them
being dropped on the floor to ensure that the response to the main
action did not have a body.

Relates #21123
2016-10-25 23:08:19 -04:00
..
fixtures in the plugin: guard against HADOOP_HOME in environment on any platform. 2015-12-21 02:21:53 -05:00
framework Add correct Content-Length on HEAD requests 2016-10-25 23:08:19 -04:00
logger-usage Fix logger usage checker for Log4j 2 2016-09-21 14:44:14 +02:00
build.gradle Add authentication to reindex-from-remote 2016-07-27 14:17:41 -04:00