MCPcopy Index your code
hub / github.com/scality/cloudserver / _isObjectRequest

Function _isObjectRequest

lib/routes/routeBackbeat.js:87–89  ·  view source on GitHub ↗
(req)

Source from the content-addressed store, hash-verified

85}
86
87function _isObjectRequest(req) {
88 return ['data', 'metadata', 'multiplebackenddata', 'multiplebackendmetadata'].includes(req.resourceType);
89}
90
91function _respondWithHeaders(response, payload, extraHeaders, log, callback) {
92 let body = '';

Callers 1

routeBackbeatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected