Fix Content-Length for HEAD requests