Set the Content-Length header for HEAD instead of adding it.