Skip to content

Commit

Permalink
Changing fcr:versions produces declaration to default to text/turtle
Browse files Browse the repository at this point in the history
  • Loading branch information
escowles committed Oct 28, 2014
1 parent d67b0fa commit a61de2c
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 a61de2c

Please sign in to comment.