(response)
| 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 = []; |
nothing calls this directly
no test coverage detected