-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add payload and representations in RDF #196
Conversation
There seems to be another question which is if a PUT of Turtle doc is done at |
d73e25c
to
f4598ba
Compare
The way it currently works in Solid is that if you PUT turtle to |
@bblfish I've raised something similar in #69 (comment) in context of container representations. The suggested practice for clients to not explicitly set base URI in the document, however, if set, it should refer to container's URI (as opposed to a representation URL).
Yes. Some implementations may expose representation URLs (covered in issue #109 ) but we want writes to go through the preferred content negotiable URI of the resource (ie. Note https://tools.ietf.org/html/rfc7231#appendix-B :
So, if Edit: As there is no guarantee that the content of a representation embeds a base URI (ie. using the resource URI) - unless server injects a base URI without conflicts - clients could potentially obtain a RDF graph from the representation that is not isomorphic with the RDF graph obtained from the resource URI. Without redirect or setting base URI, what's possible to avoid different graphs? Would rel=canonical on the representation be meaningful/helpful? Alternatively, would a simple non-normative text for clients to bear this in mind be sufficient? |
@michielbdejong Issue #109 raised whether implementations may advertise representation URLs through |
OK then it's #109 I disagree with :) |
4d88586
to
658dc4c
Compare
@michielbdejong On the contrary, we agree on the same requirement: clients should target the resource URI for write operations. Two approaches for Solid where both would conform to RFC 7231 (
Solid servers MUST implement the server parts of RFC 7231 and Open to alternative approaches or an update to what's proposed. |
Yes, approach 2 is fine. |
Great, thanks all! All approved, feedback and objections addressed. |
Initial requirement on Representations. This particular requirement involves issues:
Will update this space to include related issues.
Feedback on making this more readable is most welcome.