-
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
Some remaining differences between NSS and solid-rest #39
Comments
Thanks much, this is a great list.
This is for POST only, and Resource only, correct? I can still PUT a resource without extension or POST a container without one?
We already disallow / and test for the 400 in the tests. I'll add |.
Presumably all aux files? And we should require the user to supply this rather than supply it ourselves automatically?
A zero-byte file, correct? And we need to 1) create Container 2) read created Container's link header 3) use that address to create the .meta.
I presume this is in the new aux spec? I've never seen it explicitly stated anywhere. Nice feature though.
When would this apply? My understanding is that both PUT and POST require a contentType, so they should error if there is none specified. And the extension is irrelevant to this question, right? Once the resource-mapper is implemented, the specified contentType will be used regardless if it matches the extension? Also, this is an NSS thing, not in the spec?
Yes, we should disallow that..
I guess this means that the solid-rest equivalent of itemExists() should always check both with and without a trailing slash? |
yes
yes. (even if I don't understand the rationale)
Presumably yes. In fact there as been a discussion, the result being it MUST be RDF and that for parsing reason in NSS it can only be text/turtle. The check is needed, and yes the contenType is provided by the user
yes. zero-byte file. In solid-rest I was with the impression that you choose a simplification and that you don't need to read Container's link header. NSS do not read it allready knows where to store it.
I shall check the spec. I remember seeing it in the spec discussions
I shall recheck to see if I can find more details.
Not sure it is allready in the NSS code but I think is has been added in mashlib
Not implemented in NSS but a recurrent low level demand from Tim. As you can see I was not precise enough. |
Thanks, your explanation is very helpful. |
@jeff-zucker
Apart from resourceMapper, here are the points I can raise for compatibility between NSS and solid-rest :
(I have no understanding of Link HEADER or OPTIONS)
The text was updated successfully, but these errors were encountered: