(req, res)
| 20 | } |
| 21 | |
| 22 | function linkServiceEndpoint (req, res) { |
| 23 | const serviceEndpoint = url.resolve(req.app.locals.ldp.resourceMapper.resolveUrl(req.hostname, req.path), '.well-known/solid') |
| 24 | addLink(res, serviceEndpoint, 'service') |
| 25 | } |
| 26 | |
| 27 | function linkAcceptEndpoint (res) { |
| 28 | res.header('Accept-Patch', 'text/n3, application/sparql-update, application/sparql-update-single-match') |
no test coverage detected