Handle HTTP HEAD requests