feat: Set Accept-Patch header.

This commit is contained in:
Ruben Verborgh
2021-01-26 10:30:05 +01:00
committed by Joachim Van Herwegen
parent 394e28b69d
commit 153d2d9fe4
4 changed files with 12 additions and 0 deletions

View File

@@ -8,6 +8,10 @@
{
"@type": "ConstantMetadataWriter",
"ConstantMetadataWriter:_headers": [
{
"ConstantMetadataWriter:_headers_key": "Accept-Patch",
"ConstantMetadataWriter:_headers_value": "application/sparql-update"
},
{
"ConstantMetadataWriter:_headers_key": "MS-Author-Via",
"ConstantMetadataWriter:_headers_value": "SPARQL"

View File

@@ -18,6 +18,7 @@
],
"CorsHandler:_options_credentials": true,
"CorsHandler:_options_exposedHeaders": [
"Accept-Patch",
"Location",
"MS-Author-Via",
"Updates-Via"