File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ initial_format=$(echo "$file_doc_ntriples" | sed -rn "s/<${file_uri//\//\\/}> <h
5151
5252# re-upload the same file to the same document with explicit media type: text/csv
5353# using PUT with RDF/POST multipart format
54- # IMPORTANT: Include explicit dct:format in RDF to simulate user editing the format field in the form
54+ # IMPORTANT: Do NOT include explicit dct:format in RDF - test fallback to bodyPart.getMediaType()
5555
5656rdf_post=" "
5757rdf_post+=" -F \" rdf=\" \n"
@@ -62,8 +62,6 @@ rdf_post+="-F \"pu=http://purl.org/dc/terms/title\"\n"
6262rdf_post+=" -F \" ol=Test File for Browser Media Type\" \n"
6363rdf_post+=" -F \" pu=http://www.w3.org/1999/02/22-rdf-syntax-ns#type\" \n"
6464rdf_post+=" -F \" ou=http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject\" \n"
65- rdf_post+=" -F \" pu=http://purl.org/dc/terms/format\" \n"
66- rdf_post+=" -F \" ou=http://www.sparontologies.net/mediatype/text/csv\" \n"
6765rdf_post+=" -F \" su=${file_doc} \" \n"
6866rdf_post+=" -F \" pu=http://purl.org/dc/terms/title\" \n"
6967rdf_post+=" -F \" ol=Test File for Browser Media Type\" \n"
You can’t perform that action at this time.
0 commit comments