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

Function transformResponse

test/angular/1.5/angular.js:11825–11833  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

11823 }
11824
11825 function transformResponse(response) {
11826 // make a copy since the response must be cacheable
11827 var resp = extend({}, response);
11828 resp.data = transformData(response.data, response.headers, response.status,
11829 config.transformResponse);
11830 return (isSuccess(response.status))
11831 ? resp
11832 : $q.reject(resp);
11833 }
11834 }
11835
11836 $http.pendingRequests = [];

Callers

nothing calls this directly

Calls 3

extendFunction · 0.70
transformDataFunction · 0.70
isSuccessFunction · 0.70

Tested by

no test coverage detected