Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/scality/cloudserver
/ corsErrorHeaders.js
File
corsErrorHeaders.js
tests/unit/api/corsErrorHeaders.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
assert = require(
'assert'
);
2
const
async
= require(
'async'
);
3
const
sinon = require(
'sinon'
);
4
const
{ errors, auth } = require(
'arsenal'
);
Callers
nothing calls this directly
Calls
11
setupBucketWithCors
Function · 0.85
buildRequest
Function · 0.85
buildResponseSpy
Function · 0.85
buildLog
Function · 0.85
bucketPut
Function · 0.85
bucketPutCors
Function · 0.85
bucketGet
Function · 0.85
bucketGetCors
Function · 0.85
createBucketCorsRequest
Method · 0.80
makeAuthInfo
Function · 0.50
cleanup
Function · 0.50
Tested by
no test coverage detected