-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
non existent .meta are displayable #34
Comments
The spec doesn't actually say that much about metadata which is why we made some choices when implementing this with the plan to change if more specific requirements are established. Specifically what the contents of a container should be on a GET request. A related discussion was had here: CommunitySolidServer/CommunitySolidServer#1461 Currently CSS automatically generates the required triples for a container, such as For non-container resources the metadata is only visible by accessing the metadata resource itself as we can't add that to the data itself. We also do not add that metadata to the encapsulating container, as that might leak information. If someone has read access to The metadata you see when doing a GET to, for example |
Thanks for your response. This is quite a change to what I expected and from NSS implementation. Another question I tried to update https://bourgeoa.solidcommunity.net:3000/public/text.ttl.meta with SolidOS
|
The 405 response itself will have an Allow header and an Accept-Patch header. I see it also has an Accept-Post header so there are some things that should not be there as well apparently. There is also some documentation on how CSS handles metadata: https://communitysolidserver.github.io/CommunitySolidServer/latest/usage/metadata/ |
for exemple /public/.meta do not exist but return 200 OK and has a content
I was expecting 404
If I create the /public/.meta with some content, this content is added to the previous displayed content.
.meta seems to be a default for some server containment statements.
My understanding of the spec was that for container .meta content is added to the container containment statements and was user managed (here that is the case but not fully user managed.)
For /public/text.ttl.meta we have the same result 200 OK
If I add some user content, this user content is not added to /public containment statements (only the server managed ones)
The text was updated successfully, but these errors were encountered: