do head method for http head action.