dispatch HEAD method automatically