Skip to content
Permalink
Browse files

Merge pull request #595 from fcrepo4/fcr-versions-default-turtle

Changing fcr:versions produces declaration to default to text/turtle
  • Loading branch information...
awoods committed Oct 28, 2014
2 parents d67b0fa + a61de2c commit 9b27b817b54c53b7c5fa1785e087ddee1e63cd94
Showing with 2 additions and 2 deletions.
  1. +2 −2 fcrepo-http-api/src/main/java/org/fcrepo/http/api/FedoraVersioning.java
@@ -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");

0 comments on commit 9b27b81

Please sign in to comment.
You can’t perform that action at this time.