OpenSearch/distribution
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
..
deb Rename client yaml test infrastructure 2016-07-26 13:53:44 -04:00
integ-test-zip Add correct Content-Length on HEAD requests 2016-10-25 23:08:19 -04:00
licenses Upgrade Log4j 2 to version 2.7 2016-10-07 13:05:30 -05:00
rpm [Package] Remove bin/lib/modules directories on RPM uninstall/upgrade (#20448) 2016-09-14 18:18:37 +02:00
src/main Change permissions on config files (#20966) 2016-10-24 09:42:03 +02:00
tar Build: Remove old maven deploy support (#20403) 2016-09-19 15:10:41 -07:00
zip Further document the pom hack 2016-09-21 11:25:19 -04:00
build.gradle Change permissions on config files (#20966) 2016-10-24 09:42:03 +02:00