Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
TEXT_XML and APPLICATION_XML are different, and i guess we should ser…
…ve both.
  • Loading branch information
cbeer committed Mar 14, 2013
1 parent ff0e6d6 commit 488fa87
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -2,9 +2,7 @@
package org.fcrepo.api;

import static com.google.common.collect.ImmutableMap.builder;
import static javax.ws.rs.core.MediaType.APPLICATION_JSON;
import static javax.ws.rs.core.MediaType.TEXT_HTML;
import static javax.ws.rs.core.MediaType.TEXT_XML;
import static javax.ws.rs.core.MediaType.*;
import static javax.ws.rs.core.Response.ok;
import static org.fcrepo.services.PathService.OBJECT_PATH;

Expand Down Expand Up @@ -83,7 +81,7 @@ public Response describeModeshape() throws JsonGenerationException,

@GET
@Path("/describe")
@Produces({TEXT_XML, APPLICATION_JSON})
@Produces({TEXT_XML, APPLICATION_XML, APPLICATION_JSON})
public DescribeRepository describe() throws LoginException,
RepositoryException {

Expand Down

0 comments on commit 488fa87

Please sign in to comment.