MCPcopy
hub / github.com/scality/cloudserver / _putReplicationRequest

Function _putReplicationRequest

tests/unit/api/bucketPutVersioning.js:64–72  ·  view source on GitHub ↗
(xml)

Source from the content-addressed store, hash-verified

62}
63
64function _putReplicationRequest(xml) {
65 const request = {
66 bucketName,
67 headers: { host: `${bucketName}.s3.amazonaws.com` },
68 url: '/?replication',
69 };
70 request.post = xml;
71 return request;
72}
73
74function _putVersioningRequest(xml) {
75 const request = {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected