src/sap.ui.core/src/sap/ui/thirdparty/RequestRecorder.js
function(url, response, method, status, headers) {
			var aHeaders = headers || [];
			aHeaders.push({
				"name": "Content-Type",
				"value": "application/json;charset=utf-8"
			});
			this.addResponse(url, response, method, status, aHeaders);
		}
function(url, response, method, status, headers) {
			var aHeaders = headers || [];
			aHeaders.push({
				"name": "Content-Type",
				"value": "application/json;charset=utf-8"
			});
			this.addResponse(url, response, method, status, aHeaders);
		}
function ( url , response , method , status , headers ) { var aHeaders = headers || [ ] ; aHeaders . push ( { "name" : "Content-Type" , "value" : "application/json;charset=utf-8" } ) ; this . addResponse ( url , response , method , status , aHeaders ) ; }
Adds a JSON encoded response for a request with the provided URL.

@param {string} url The requested URL.
@param {string|function} response The returned response as string or callback.
@param {string} [method] The HTTP method (e.g. GET, POST), default is GET.
@param {int} [status] The desired status, default is 200.
@param {array} [headers] The response Headers, the Content-Type for JSON is already set for this method.
Adds a JSON encoded response for a request with the provided URL .