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

Function createOptions

test/integration/acl-tls-test.mjs:99–111  ·  view source on GitHub ↗
(path, user)

Source from the content-addressed store, hash-verified

97 })
98
99 function createOptions (path, user) {
100 const options = {
101 url: address + path,
102 headers: {
103 accept: 'text/turtle',
104 'content-type': 'text/plain'
105 }
106 }
107 if (user) {
108 options.agentOptions = userCredentials[user]
109 }
110 return options
111 }
112
113 describe('no ACL', function () {
114 it('should return 500 for any resource', function (done) {

Callers 1

acl-tls-test.mjsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected