Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add application/xml as an appropriate format for the describe response
  • Loading branch information
cbeer committed May 8, 2013
1 parent ab10923 commit e74e96b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions fcrepo-http-api/src/main/java/org/fcrepo/api/FedoraNodes.java
@@ -1,9 +1,7 @@

package org.fcrepo.api;

import static javax.ws.rs.core.MediaType.APPLICATION_JSON;
import static javax.ws.rs.core.MediaType.APPLICATION_OCTET_STREAM_TYPE;
import static javax.ws.rs.core.MediaType.TEXT_XML;
import static javax.ws.rs.core.MediaType.*;
import static javax.ws.rs.core.Response.created;
import static javax.ws.rs.core.Response.noContent;
import static org.slf4j.LoggerFactory.getLogger;
Expand Down Expand Up @@ -71,7 +69,7 @@ public class FedoraNodes extends AbstractResource {
private LowLevelStorageService llStoreService;

@GET
@Produces({TEXT_XML, APPLICATION_JSON})
@Produces({TEXT_XML, APPLICATION_JSON, APPLICATION_XML})
public Response describe(@PathParam("path")
final List<PathSegment> pathList) throws RepositoryException, IOException {

Expand Down

0 comments on commit e74e96b

Please sign in to comment.