MCPcopy Index your code
hub / github.com/mgonto/restangular / parseResponse

Function parseResponse

src/restangular.js:1108–1115  ·  view source on GitHub ↗
(resData, operation, route, fetchUrl, response, deferred)

Source from the content-addressed store, hash-verified

1106 }
1107
1108 function parseResponse(resData, operation, route, fetchUrl, response, deferred) {
1109 var data = config.responseExtractor(resData, operation, route, fetchUrl, response, deferred);
1110 var etag = response.headers('ETag');
1111 if (data && etag) {
1112 data[config.restangularFields.etag] = etag;
1113 }
1114 return data;
1115 }
1116
1117
1118 function fetchFunction(what, reqParams, headers) {

Callers 1

okCallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…