mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
* feat: add PlainJsonLdFilter to reject JSON with context link * refactor: abstract parseLinkHeader into HeaderUtils * docs: typo in comment field Co-authored-by: Ruben Verborgh <ruben@verborgh.org> * refactor: Replace BadRequestHttpError with NotImplementedError Co-authored-by: Ruben Verborgh <ruben@verborgh.org> * refactor: incorporate requested changes * refactor: requested changes incorporated * refactor: remove obsolete code lines Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
25 lines
1.0 KiB
JSON
25 lines
1.0 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^3.0.0/components/context.jsonld",
|
|
"import": [
|
|
"files-scs:config/ldp/metadata-parser/parsers/content-length.json",
|
|
"files-scs:config/ldp/metadata-parser/parsers/content-type.json",
|
|
"files-scs:config/ldp/metadata-parser/parsers/link.json",
|
|
"files-scs:config/ldp/metadata-parser/parsers/plain-json-ld-filter.json",
|
|
"files-scs:config/ldp/metadata-parser/parsers/slug.json"
|
|
],
|
|
"@graph": [
|
|
{
|
|
"comment": "Converts request metadata (e.g. headers) to RDF metadata.",
|
|
"@id": "urn:solid-server:default:MetadataParser",
|
|
"@type": "ParallelHandler",
|
|
"handlers": [
|
|
{ "@id": "urn:solid-server:default:ContentLengthParser" },
|
|
{ "@id": "urn:solid-server:default:ContentTypeParser" },
|
|
{ "@id": "urn:solid-server:default:LinkRelParser" },
|
|
{ "@id": "urn:solid-server:default:PlainJsonLdFilter" },
|
|
{ "@id": "urn:solid-server:default:SlugParser" }
|
|
]
|
|
}
|
|
]
|
|
}
|