Closed nichtich closed 9 years ago
RDF/Turtle and RDF/XML are returned as text/plain:
text/plain
curl -i -H 'Accept: text/turtle,application/turtle,application/x-turtle' http://lobid.org/organisation/DE-605/about HTTP/1.1 200 OK Date: Mon, 15 Dec 2014 09:02:53 GMT Content-Type: text/plain; charset=utf-8 Content-Length: 2978 <http://lobid.org/organisation/DE-605> a <http://xmlns.com/foaf/0.1/Organization> ; ...
curl -i -H 'Accept: application/rdf+xml,application/xml,text/xml' http://lobid.org/organisation/DE-605/a bout HTTP/1.1 200 OK Date: Mon, 15 Dec 2014 09:07:32 GMT Content-Type: text/plain; charset=utf-8 Content-Length: 3113 <rdf:RDF ...
Deployed to staging.
+1. Works for /organisation, /resource and /subject.
Deployed to production. Thx @nichtich for the bug report.
RDF/Turtle and RDF/XML are returned as
text/plain
: