Added HEAD request method.