mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Set MS-Author-Via header.
Closes https://github.com/solid/community-server/issues/539
This commit is contained in:
committed by
Joachim Van Herwegen
parent
fe3957f0ae
commit
8c2f737fe0
@@ -81,6 +81,7 @@ describe.each(stores)('An LDP handler without auth using %s', (name, { storeUrn,
|
||||
expect(response.statusCode).toBe(200);
|
||||
expect(response._getBuffer().toString()).toContain('TESTFILE0');
|
||||
expect(response.getHeaders().link).toBe(`<${LDP.Resource}>; rel="type"`);
|
||||
expect(response.getHeaders()['ms-author-via']).toBe('SPARQL');
|
||||
|
||||
// DELETE
|
||||
await resourceHelper.deleteResource(id);
|
||||
|
||||
Reference in New Issue
Block a user