function parseResponseFn(requests, rawResponse) {
    var batchResponses = [],
      i, request,
      responseData = rawResponse.data,
      dataPart;

    for (i = 0; i < requests.length; i += 1) {
      request = requests[i];
      dataPart = responseData[i.toString()];

      batchResponses.push(new window.ahb.HttpBatchResponseData(
        request,
        dataPart.statusCode,
        '',
        dataPart.body,
        dataPart.headers));
    }

    return batchResponses;
  }
/**
   * Parses the raw response into an array of HttpBatchResponseData objects.  If is this methods job
   * to parse the response and match it up with the orginal request object.
   * @param rawResponse
   * @returns {Array.HttpBatchResponseData[]}
   */
Parses the raw response into an array of HttpBatchResponseData objects.  If is this methods job
to parse the response and match it up with the orginal request object.
Parses the raw response into an array of HttpBatchResponseData objects . If is this methods job to parse the response and match it up with the orginal request object .
function parseResponseFn(requests, rawResponse) {
    var batchResponses = [],
      i, request,
      responseData = rawResponse.data,
      dataPart;
    for (i = 0; i < requests.length; i += 1) {
      request = requests[i];
      dataPart = responseData[i.toString()];
      batchResponses.push(new window.ahb.HttpBatchResponseData(
        request,
        dataPart.statusCode,
        '',
        dataPart.body,
        dataPart.headers));
    }
    return batchResponses;
  }
function parseResponseFn ( requests , rawResponse ) { var batchResponses = [ ] , i , request , responseData = rawResponse . data , dataPart ; for ( i = 0 ; i < requests . length ; i += 1 ) { request = requests [ i ] ; dataPart = responseData [ i . toString ( ) ] ; batchResponses . push ( new window . ahb . HttpBatchResponseData ( request , dataPart . statusCode , '' , dataPart . body , dataPart . headers ) ) ; } return batchResponses ; }
Parses the raw response into an array of HttpBatchResponseData objects.
Parses the raw response into an array of HttpBatchResponseData objects .