You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing a PUT/POST to a file store we should make sure that the resource has the correct extension so the content-type remains the same when reading out the data again. See the comments here.
Ah yea, for some reason I always missed so far that the file name doesn't exactly match the end of the URI, really should read more carefully sometimes 😂
Activity
jvherweg commentedon Sep 22, 2020
Related to this:
RubenVerborgh commentedon Sep 22, 2020
No, putting Turtle to
/foo.jsongetsfoo.json$.ttlon disk as per https://www.w3.org/DesignIssues/HTTPFilenameMapping.htmlThe
$extension would change or be added/removed accordingly.The above all assuming that we follow the "content type is encoded/reflected in the extension" approach of https://www.w3.org/DesignIssues (different mappers can implement different things)
jvherweg commentedon Sep 22, 2020
Ah yea, for some reason I always missed so far that the file name doesn't exactly match the end of the URI, really should read more carefully sometimes 😂
jvherweg commentedon Oct 14, 2020
Partially supported now. Still need to add some checks when the incoming content-type is different from the already stored file.