useid / semcom

A decentralised registry to support the dynamic binding of semantic components in Solid data browsers.
https://docs.digita.ai/semcom
Other
7 stars 2 forks source link

RDF content-negotiation does not include shapes #84

Closed wouteraj closed 3 years ago

wouteraj commented 3 years ago

Steps to reproduce:

The server responds as follows. Note that shapes associated with the component are not part of the response.

HTTP/1.1 200 OK
Keep-Alive: timeout=5
Transfer-Encoding: chunked
Content-Type: text/turtle
Vary: Origin
X-Cache: CONFIG_NOCACHE
X-Azure-Ref: 00SSuYAAAAAAJ5aZszTycRJPK59Dd0/hEQlJVMzBFREdFMDQyMQBjZWUyMTVmMy1kMDhmLTRmZDItOTExMy1hZDc2YzFkNzMzMjE=
Date: Wed, 26 May 2021 10:37:04 GMT
Connection: close

<https://node.semcom.digita.ai/c/https://components.semcom.digita.ai/components/profile.js> a <http://semcom.digita.ai/voc#component>;
<http://semcom.digita.ai/voc#label> <SemCom Profile Component>;
<http://semcom.digita.ai/voc#description> <Digita SemCom component for profile information.>;
<http://semcom.digita.ai/voc#author> <https://digita.ai>;
<http://semcom.digita.ai/voc#version> <0.1.0>;
<http://semcom.digita.ai/voc#latest> true;
<http://semcom.digita.ai/voc#tag> <profile>.
<https://node.semcom.digita.ai/c/https://components.semcom.digita.ai/components/payslip.js> a <http://semcom.digita.ai/voc#component>;
<http://semcom.digita.ai/voc#label> <SemCom Payslip Component>;
<http://semcom.digita.ai/voc#description> <Digita SemCom component for payslip information.>;
<http://semcom.digita.ai/voc#author> <https://digita.ai>;
<http://semcom.digita.ai/voc#version> <0.1.0>;
<http://semcom.digita.ai/voc#latest> true;
<http://semcom.digita.ai/voc#tag> <payslip>.

The server responds as follows. Note that shapes associated with the component are part of the response.

HTTP/1.1 200 OK
Keep-Alive: timeout=5
Content-Length: 604
Content-Type: application/json
Vary: Origin
X-Cache: CONFIG_NOCACHE
X-Azure-Ref: 0syiuYAAAAACPcLwMANVaRI9p1yqoTiKxQlJVMzBFREdFMDcwOQBjZWUyMTVmMy1kMDhmLTRmZDItOTExMy1hZDc2YzFkNzMzMjE=
Date: Wed, 26 May 2021 10:53:39 GMT
Connection: close

[
{
"uri": "https://components.semcom.digita.ai/components/profile.js",
"label": "SemCom Profile Component",
"description": "Digita SemCom component for profile information.",
"author": "https://digita.ai",
"tag": "profile",
"version": "0.1.0",
"latest": true,
"shapes": [
"http://xmlns.com/foaf/0.1/PersonalProfileDocument"
]
},
{
"uri": "https://components.semcom.digita.ai/components/payslip.js",
"label": "SemCom Payslip Component",
"description": "Digita SemCom component for payslip information.",
"author": "https://digita.ai",
"tag": "payslip",
"version": "0.1.0",
"latest": true,
"shapes": [
"http://digita.ai/voc/payslip#payslip"
]
}
]

┆Issue is synchronized with this Wrike Task by Unito

woutermont commented 3 years ago

Is this still an issue?

jonasbovyn commented 3 years ago

Is this still an issue?

this is still an issue