Thomas Dupont ce754c119f
fix: Add content-negotiation when fetching dataset from url
* Solution works but tests don't

* refactor(FetchUtil): use arrayifyStream

* refactor(FetchUtil): split fetchDataset into 2 separate functions

* style(FetchUtil): onelining instead of declaring new local var

* test: trying to mock rdfDereferencer

* refactor: promise can't have async function as arg

* test(FetchUtil): pass Quad array to mockDereference instead

* test: all tests should pass now and coverage is back to 100%

* style: comment typo

* chore: make package.json and package-lock.json compatible with main

* chore: fix package.json double entries

* chore: updated package.json to be alfabetical again

* refactor(AgentGroupAccessChecker): Remove converter from contructor and config

* refactor(TokenOwnerShipValidator): Remove converter from constructor and config

* refactor(FetchUtil): Return BadRequestHttpError instead of generic Error

* test(FetchUtil): return Response object instead of mocking fetch

* style: typos and newlines
2022-02-15 13:44:03 +01:00
..
2022-01-25 11:30:42 +01:00
2022-01-25 11:30:42 +01:00

LDP

Options related to the Linked Data Platform implementation. This is the core part of the Solid server.

Authentication

Covers how agents are identified.

  • debug-auth-header: Allows authentication headers such as WebID http://test.com/card#me to identify as that WebID without further checks.
  • debug-test-agent: Always assumes the agent is the set identifier.
  • dpop-bearer: Uses the default DPoP and Bearer identification.

Authorization

Covers how operations are authorized (or rejected).

  • allow-all: No authorization, everything is allowed.
  • webacl: Use the default Web Access Control.

Handler

Contains the default LDP handler that will handle most requests.

  • default: The default setup. Some identifiers seen here are defined by the other options found in this document.

Metadata-Parser

Contains a list of parsers that will be run on incoming requests to generate metadata.

  • default: Contains the default parsers. Can be added to when specific parsers are required.

Metadata-Writer

Contains a list of metadata writers that will be run on outgoing responses.

  • default: Contains the default writers. Can be added to when specific parsers are required.

Modes

Determines which modes are needed for requests, by default this is based on the used HTTP method.

  • default: Bases required modes on HTTP method.