Files
CommunitySolidServer/config/ldp/metadata-writer/writers/constant.json
2022-02-23 11:09:41 +01:00

25 lines
845 B
JSON

{
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^3.0.0/components/context.jsonld",
"@graph": [
{
"comment": "Adds fixed headers to the response.",
"@id": "urn:solid-server:default:MetadataWriter_Constant",
"@type": "ConstantMetadataWriter",
"headers": [
{
"ConstantMetadataWriter:_headers_key": "Accept-Patch",
"ConstantMetadataWriter:_headers_value": "application/sparql-update, text/n3"
},
{
"ConstantMetadataWriter:_headers_key": "Allow",
"ConstantMetadataWriter:_headers_value": "OPTIONS, HEAD, GET, PATCH, POST, PUT, DELETE"
},
{
"ConstantMetadataWriter:_headers_key": "MS-Author-Via",
"ConstantMetadataWriter:_headers_value": "SPARQL"
}
]
}
]
}