Open phochste opened 2 years ago
In this case, would you want this to be an -oct, --outputcontenttype flag that converts all rdf content to the specific contentType? And when copying to a pod, would you want the files to have the appropriate extension or have no extension at all?
I think in your code you have a mime type guesser. When you upload a PDF file , the content type of the file will be automatically application/pdf.
When you upload an RDF document ..does it automatically know it is a text/turtle (or will it be a text/plain).
If a content type is forced via --oct
option, then the extention must not be touched. It is up to the end-user then to make the right choice of file names.
jsonld, turtle, N3, trig, ntriples, nquads,rdf*