fix wrong content type

This commit is contained in:
Sebastian Sdorra
2011-11-20 14:32:32 +01:00
parent 5d3c0d012e
commit 9d396589fb

View File

@@ -599,7 +599,7 @@ public class RepositoryResource
@GET @GET
@Path("{id}/diff") @Path("{id}/diff")
@TypeHint(DiffStreamingOutput.class) @TypeHint(DiffStreamingOutput.class)
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) @Produces(MediaType.APPLICATION_OCTET_STREAM)
public Response getDiff(@PathParam("id") String id, public Response getDiff(@PathParam("id") String id,
@QueryParam("revision") String revision, @QueryParam("revision") String revision,
@QueryParam("path") String path) @QueryParam("path") String path)