(response)
| 13033 | } |
| 13034 | |
| 13035 | function transformResponse(response) { |
| 13036 | // make a copy since the response must be cacheable |
| 13037 | var resp = extend({}, response); |
| 13038 | resp.data = transformData(response.data, response.headers, response.status, |
| 13039 | config.transformResponse); |
| 13040 | return (isSuccess(response.status)) |
| 13041 | ? resp |
| 13042 | : $q.reject(resp); |
| 13043 | } |
| 13044 | } |
| 13045 | |
| 13046 | $http.pendingRequests = []; |
nothing calls this directly
no test coverage detected