MCPcopy Create free account
hub / github.com/scality/cloudserver / createRequestContext

Function createRequestContext

tests/unit/helpers.js:518–522  ·  view source on GitHub ↗
(apiMethod, request)

Source from the content-addressed store, hash-verified

516}
517
518function createRequestContext(apiMethod, request) {
519 return new RequestContext(request.headers,
520 request.query, request.bucketName, request.objectKey,
521 '127.0.0.1', false, apiMethod, 's3');
522}
523
524module.exports = {
525 testsRangeOnEmptyFile,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected