HEAD to send length as zero because of warning in logs that length is specified for a HEAD request