hande HEAD requests in the web server