MCPcopy Index your code
hub / github.com/nodeSolidServer/node-solid-server / createOptions

Function createOptions

test/integration/http-copy-test.mjs:53–63  ·  view source on GitHub ↗
(method, url, user)

Source from the content-addressed store, hash-verified

51 }
52
53 function createOptions (method, url, user) {
54 const options = {
55 method: method,
56 url: url,
57 headers: {}
58 }
59 if (user) {
60 options.agentOptions = userCredentials[user]
61 }
62 return options
63 }
64
65 it('should create the copied resource', function (done) {
66 const copyFrom = '/samplePublicContainer/nicola.jpg'

Callers 1

http-copy-test.mjsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected