function formatResponse(oResponse, mODataHeaders) {
				var mHeaders = jQuery.extend({}, mODataHeaders, oResponse.headers);

				// Note: datajs expects a space after the response code
				return sMimeHeaders
					+ (oResponse.contentId ? "Content-ID: " + oResponse.contentId + "\r\n" : "")
					+ "\r\nHTTP/1.1 " + oResponse.code + " \r\n"
					+ Object.keys(mHeaders).map(function (sHeader) {
							return sHeader + ": " + mHeaders[sHeader];
						}).join("\r\n")
					+ "\r\n\r\n" + (oResponse.message || "") + "\r\n";
			}
/*
			 * Formats the response to be inserted into the batch
			 *
			 * @param {object} oResponse The response with code, contentId, headers, message
			 * @param {map} mODataHeaders The OData headers from the batch to copy into the response
			 * @returns {string} The response to be inserted into the batch
			 */
Formats the response to be inserted into the batch
@param {object} oResponse The response with code, contentId, headers, message
@param {map} mODataHeaders The OData headers from the batch to copy into the response
@returns {string} The response to be inserted into the batch
Formats the response to be inserted into the batch @param { object } oResponse The response with code contentId headers message @param { map } mODataHeaders The OData headers from the batch to copy into the response @returns { string } The response to be inserted into the batch
function formatResponse(oResponse, mODataHeaders) {
				var mHeaders = jQuery.extend({}, mODataHeaders, oResponse.headers);
				return sMimeHeaders
					+ (oResponse.contentId ? "Content-ID: " + oResponse.contentId + "\r\n" : "")
					+ "\r\nHTTP/1.1 " + oResponse.code + " \r\n"
					+ Object.keys(mHeaders).map(function (sHeader) {
							return sHeader + ": " + mHeaders[sHeader];
						}).join("\r\n")
					+ "\r\n\r\n" + (oResponse.message || "") + "\r\n";
			}
function formatResponse ( oResponse , mODataHeaders ) { var mHeaders = jQuery . extend ( { } , mODataHeaders , oResponse . headers ) ; return sMimeHeaders + ( oResponse . contentId ? "Content-ID: " + oResponse . contentId + "\r\n" : "" ) + "\r\nHTTP/1.1 " + oResponse . code + " \r\n" + Object . keys ( mHeaders ) . map ( function ( sHeader ) { return sHeader + ": " + mHeaders [ sHeader ] ; } ) . join ( "\r\n" ) + "\r\n\r\n" + ( oResponse . message || "" ) + "\r\n" ; }
Formats the response to be inserted into the batch
 @param {object} oResponse The response with code, contentId, headers, message
 @param {map} mODataHeaders The OData headers from the batch to copy into the response
 @returns {string} The response to be inserted into the batch
Formats the response to be inserted into the batch @param { object } oResponse The response with code contentId headers message @param { map } mODataHeaders The OData headers from the batch to copy into the response @returns { string } The response to be inserted into the batch
// Note: datajs expects a space after the response code