(response)
| 13098 | } |
| 13099 | |
| 13100 | function transformResponse(response) { |
| 13101 | // make a copy since the response must be cacheable |
| 13102 | var resp = extend({}, response); |
| 13103 | resp.data = transformData(response.data, response.headers, response.status, |
| 13104 | config.transformResponse); |
| 13105 | return (isSuccess(response.status)) |
| 13106 | ? resp |
| 13107 | : $q.reject(resp); |
| 13108 | } |
| 13109 | } |
| 13110 | |
| 13111 | $http.pendingRequests = []; |
nothing calls this directly
no test coverage detected