support HTTP HEAD request method