which argument? `resp`? or `xhrObj`?