Skip to content

Commit

Permalink
Add missing content type header
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Matsuoka committed Dec 11, 2024
1 parent e9667a4 commit 82ce988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/cryostat/reports/Reports.java
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public Response getActive(
response.bodyEndHandler(
(e) -> bus.publish(LongRunningRequestGenerator.ACTIVE_REPORT_ADDRESS, request));
// TODO implement query parameter for evaluation predicate
return Response.ok(request.getId())
return Response.ok(request.getId(), MediaType.TEXT_PLAIN)
.status(202)
.location(
UriBuilder.fromUri(
Expand Down

0 comments on commit 82ce988

Please sign in to comment.