Skip to content

Commit

Permalink
fix post file produces (possible 406 error)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcuje committed Dec 13, 2017
1 parent 94e45af commit 377cb33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/i5/las2peer/services/fileService/FileService.java
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public Response getFile(@PathParam("paths") List<PathSegment> paths) {
* @return Returns an HTTP status code and message with the result of the upload request.
*/
@POST
@Produces(MediaType.APPLICATION_JSON)
@Produces(MediaType.TEXT_PLAIN)
@ApiResponses(
value = { @ApiResponse(
code = HttpURLConnection.HTTP_OK,
Expand Down

0 comments on commit 377cb33

Please sign in to comment.