Skip to content

LCGDM-2947 Apache workaround for HEAD Content-Length "00"

Petr Vokac requested to merge vokac/dmlite:http-content-length-zero into develop

Apache by default unset Content-Lenght for HEAD requests and patch with HttpContentLengthHeadZero was never merged in apache sources. As a workaround we set Content-Length to "00" in case file size is zero, because Apache filter search only for "0" to unset zero header.

Merge request reports