add HEAD method support