Use response listener only for non-ajax http requests