(response)
| 12464 | } |
| 12465 | |
| 12466 | function transformResponse(response) { |
| 12467 | // make a copy since the response must be cacheable |
| 12468 | var resp = extend({}, response); |
| 12469 | resp.data = transformData(response.data, response.headers, response.status, |
| 12470 | config.transformResponse); |
| 12471 | return (isSuccess(response.status)) |
| 12472 | ? resp |
| 12473 | : $q.reject(resp); |
| 12474 | } |
| 12475 | } |
| 12476 | |
| 12477 | $http.pendingRequests = []; |
nothing calls this directly
no test coverage detected