MCPcopy Index your code
hub / github.com/angular-ui/ui-router / transformResponse

Function transformResponse

test/angular/1.6/angular.js:12464–12472  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

12462 }
12463
12464 function transformResponse(response) {
12465 // make a copy since the response must be cacheable
12466 var resp = extend({}, response);
12467 resp.data = transformData(response.data, response.headers, response.status,
12468 config.transformResponse);
12469 return (isSuccess(response.status))
12470 ? resp
12471 : $q.reject(resp);
12472 }
12473 }
12474
12475 $http.pendingRequests = [];

Callers

nothing calls this directly

Calls 3

extendFunction · 0.70
transformDataFunction · 0.70
isSuccessFunction · 0.70

Tested by

no test coverage detected