Added the responseObject to http request error handlers