Sometime it is worth to see sources:
success: function(oData) { if (!oData) { jQuery.sap.log.fatal("The following problem occurred: No data was retrieved by service: " + sURL); } that.setData(oData, bMerge); that.fireRequestCompleted({url : sURL, type : sType, async : bAsync, headers: mHeaders, info : "cache="+bCache+";bMerge=" + bMerge, infoObject: {cache : bCache, merge : bMerge}, success: true}); }, error: function(XMLHttpRequest, textStatus, errorThrown){ var oError = { message : textStatus, statusCode : XMLHttpRequest.status, statusText : XMLHttpRequest.statusText, responseText : XMLHttpRequest.responseText}; jQuery.sap.log.fatal("The following problem occurred: " + textStatus, XMLHttpRequest.responseText + "," + XMLHttpRequest.status + "," + XMLHttpRequest.statusText); that.fireRequestCompleted({url : sURL, type : sType, async : bAsync, headers: mHeaders, info : "cache="+bCache+";bMerge=" + bMerge, infoObject: {cache : bCache, merge : bMerge}, success: false, errorobject: oError}); that.fireRequestFailed(oError); }
bunch of things are passed to that event even headers