o-development / ldo

Monorepo for Linked Data Objects (ldo)
MIT License
26 stars 5 forks source link

Data resource created instead of solid Container #55

Open MichelSc opened 1 month ago

MichelSc commented 1 month ago

I use

I want to create a new solid Container in my root Container.

I call Container.createIfAbsent, with as uri <root>/my-solid-app/

A new data resource is created in the solid server, with as uri <root>/my-solid-app.ttl: NOK

In the debugger, at @ldo/solid/src/requester/requests/createDataResource.ts#L213, is see in the headers of the POST request

{
    "content-type": "text/turtle",
    "slug": "my-solid-app",
    "link": "<http://www.w3.org/ns/ldp#Container>; rel=\"type\""
}

Which side does it wrong?

chuixuewan commented 1 month ago

have you tried it on " https://solidweb.me/" ?

MichelSc commented 1 month ago

https://solidweb.me/ is a public hosting of Community Solid Sever version 7.1.

We use that same server of that same version, locally hosted, for our development and the reported unexpected behavior does not happen.

Still Node Solid Server seems to be an mature alternative. We are surprised to see a discrepancy in the servers behaviors. Therefore our question.