From 82ce988b49c458bd6128c5f93630c2b8f01a59da Mon Sep 17 00:00:00 2001 From: jmatsuok Date: Wed, 11 Dec 2024 14:22:02 -0500 Subject: [PATCH] Add missing content type header --- src/main/java/io/cryostat/reports/Reports.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/cryostat/reports/Reports.java b/src/main/java/io/cryostat/reports/Reports.java index 07be55352..83270eca3 100644 --- a/src/main/java/io/cryostat/reports/Reports.java +++ b/src/main/java/io/cryostat/reports/Reports.java @@ -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(