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