-
Notifications
You must be signed in to change notification settings - Fork 9
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
Should a WebID document behave as a Solid Resource? #38
Comments
I would amend my suggestion to "A Solid WebID Profile Document must behave as a Solid resource regardless of whether it is located on a Solid server." That would include the requirement to serve turtle as well as address other potential modifications of how profiles are served. It can be a non-Solid resource on a non-Solid server as long as it behaves to Solid clients the same way a Solid resource behaves. |
Regarding ESS behavior only: Thank you @jeff-zucker for highlighting this. ESS 2.0 indeed currently responds with an HTML representation when a WebID is dereferenced without an Inrupt consider this a mistake and are working on a change which will serve a Turtle representation of the WebID instead when |
But, on third consideration - this would be a recommendation to servers, not to app developers, and therefore probably does not belong in this spec. Still, it seems quite unstable to have a situation in which the profile document may or may not be readable, may or may not be writable by the WebID owner, may or may not return turtle, etc. and all beyond the scope of any Solid spec. |
ESS 2.0 now returns Turtle by default.
|
Could we standardize an accept header that SHOULD be sent as a WebID client? |
I wrote about this in length e.g. (mind the editorial changes in https://solidproject.org/ED/protocol ):
I don't think it is necessary to introduce a protocol level requirement as such into to the WebID Profile spec, especially considering the subject of the requirement is a server. WebID Profile Document is an RDF document and the Solid Protocol describes how servers handle RDF documents. The related interactions are addressed by adherence to underlying RFC 7231.
This can potentially be a contradictory premise or impractical for implementation. If a Solid WebID Profile Document were to behave as a Solid resource, then the server is conforming to the Solid Protocol. The document is "on a" Solid server.
A WebID Profile Document may or may not be readable indeed. We already do apply the notion of private (in the general sense) WebID Profiles - data minimisation . (Fun reading / FYN: https://csarven.ca/linked-research-decentralised-web#universal-identity-for-the-web , https://csarven.ca/linked-research-decentralised-web#privacy-considerations ). If the "owner" is borrowed from https://solidproject.org/ED/protocol#owner and the mechanism to "control" (in the general sense) a resource is provided by the authorization system ( https://solidproject.org/TR/wac#reading-writing-resources ) , writing the WebID Profile Document should be possible.
If a client doesn't send the Accept header, the client must be able to parse a potential Turtle response of the WebID Profile Document. |
The newest ESS WebID Profile Document is HTML+RDFa being served from something that is not a Solid Resource Server. This means that a simple GET will return HTML unless the Accept header is set. This all mean one needs to take special steps to read a WebID Profile Document on ESS.
I am in favor of a statement in the spec along the lines of :
A Solid WebID Profile Document MUST be publicly readable and MUST return RDF from a GET request unless the request's Accept header specifies a non-RDF format.
The text was updated successfully, but these errors were encountered: