Skip to content

Commit

Permalink
Merge pull request #595 from fcrepo4/fcr-versions-default-turtle
Browse files Browse the repository at this point in the history
Changing fcr:versions produces declaration to default to text/turtle
  • Loading branch information
Andrew Woods committed Oct 28, 2014
2 parents d67b0fa + a61de2c commit 9b27b81
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -162,8 +162,8 @@ public Response addVersion(@HeaderParam("Slug") final String slug) throws Reposi
*/
@GET
@HtmlTemplate(value = "fcr:versions")
@Produces({TURTLE, N3, N3_ALT2, RDF_XML, NTRIPLES, APPLICATION_XML, TEXT_PLAIN, TURTLE_X,
TEXT_HTML, APPLICATION_XHTML_XML, JSON_LD})
@Produces({TURTLE + ";qs=10", JSON_LD + ";qs=8", N3, N3_ALT2, RDF_XML, NTRIPLES, APPLICATION_XML, TEXT_PLAIN,
TURTLE_X, TEXT_HTML, APPLICATION_XHTML_XML, "*/*"})
public RdfStream getVersionList() {
if (!resource().isVersioned()) {
throw new RepositoryVersionRuntimeException("This operation requires that the node be versionable");
Expand Down

0 comments on commit 9b27b81

Please sign in to comment.