Open bourgeoa opened 4 years ago
Why? What does this change about what solid-rest can do?
We could also implement a server slug creation with POST when resource exists.
Again, why?
Ah, maybe by "server slug creation with POST" you mean the ability to create filenames (prepend a number) when a resource already exists? If so, yes I think we need that.
That's exactly what I meant.for POST.
As for using a resource mapper function. The use case can be
These case needs to be able not to break the file contentType relation, even when not reflected by the extension. The convention can be different from NSS ,but I think there should be one.
I already run on some setup test questions on solid-file-client when the relation between resource and contentType is not reflected on ls:// or file:///
Moving the POST questions to its own issue;
Marking the resource-mapper as enhancement. I think it is definitely needed but not as high a priority as other things given that it only applies to a very specific circumstance that isn't really specified (AFAIK) in the spec.
This is a way to store in file and retrieve from file the
Resource
andcontentType
:We could also implement a server slug creation with POST when resource exists.