(response)
| 12313 | } |
| 12314 | |
| 12315 | function transformResponse(response) { |
| 12316 | // make a copy since the response must be cacheable |
| 12317 | var resp = extend({}, response); |
| 12318 | resp.data = transformData(response.data, response.headers, response.status, |
| 12319 | config.transformResponse); |
| 12320 | return (isSuccess(response.status)) |
| 12321 | ? resp |
| 12322 | : $q.reject(resp); |
| 12323 | } |
| 12324 | } |
| 12325 | |
| 12326 | $http.pendingRequests = []; |
nothing calls this directly
no test coverage detected