Skip to content
Permalink
Browse files

Changing fcr:versions produces declaration to default to text/turtle

  • Loading branch information...
escowles committed Oct 28, 2014
1 parent d67b0fa commit a61de2c7b2f7146ea84a97a7f82128e0a67a0d1b
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 a61de2c

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