I’m currently writing a Pod file manager application and I’m running into an issue with meta files. I’ve read the spec and previous discussions but haven’t been able to determine the current best practices and/or whether I’m doing things correctly. Specifically, I’m lost on the correct method for creating meta RDF files for non-RDF resources.
I’ve tried putting a blank file at the URI specified by the non-RDF file’s Link header. If I specify a ContentType of “text/turtle” the PUT appears to succeed, but the file doesn’t appear to be created. If I specify a ContentType of “text/plain” the meta file appears to be created in an ambiguous state (it shows up in a directory listing, but all operations on it return a 404, and it cannot be deleted).
I’ve also tried PATCHing RDF data directly into a non-existent meta file. This appears to succeed, but again the meta file does not exist.
Is there something I’m missing in either the Solid specs and/or discussions? The latest discussions seem to indicate that the spec on this is still up in the air, and I haven’t been able to find any examples in existing Solid apps that handle metadata for non-RDF resources.