The following issue has been SUBMITTED. ====================================================================== http://bugs.librdf.org/mantis/view.php?id=590 ====================================================================== Reported By: ktk Assigned To: ====================================================================== Project: Raptor RDF Syntax Library Issue ID: 590 Category: utilities Reproducibility: always Severity: minor Priority: normal Status: new Syntax Name: ====================================================================== Date Submitted: 2015-01-02 13:23 Last Modified: 2015-01-02 13:23 ====================================================================== Summary: Give Turtle & NTriples a higher priority in content-negotiation Description:
Rapper currently (2.0.14) seems to send the following Accept header: accept: 'application/rdf+xml, text/rdf;q=0.6, application/n-triples, text/plain;q=0.1, text/turtle, application/x-turtle, application/turtle, text/n3;q=0.3, text/rdf+n3;q=0.3, application/rdf+n3;q=0.3, application/x-trig, application/rss;q=0.8, application/rss+xml;q=0.8, text/rss;q=0.8, application/xml;q=0.3, text/xml;q=0.3, application/atom+xml;q=0.3, text/html;q=0.2, application/xhtml+xml;q=0.4, text/html;q=0.6, application/xhtml+xml;q=0.8, text/x-nquads, */*;q=0.1' This works fine as long as RDF/XML is supported by the server. However, if the server only serves Turtle or NTriples, the server will answer to that with HTML before a RDF serialization. RDF/XML is no longer supported by all servers out there so I would propose to give Turtle and NTriples a higher priority than HTML to make sure we get RDF back if it is supported by the server. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-01-02 13:23 ktk New Issue ====================================================================== _______________________________________________ redland-dev mailing list [email protected] http://lists.librdf.org/mailman/listinfo/redland-dev
