From 3e9ce41a81aebe4af68b1bdc8ee68e32eb5c2926 Mon Sep 17 00:00:00 2001 From: Daniel Fiala Date: Sat, 20 Apr 2024 12:56:40 +0200 Subject: [PATCH] feat(transcoding): removed unnecessary encoding --- .../grpc/runtime/transcoding/GrpcTranscodingResponse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/grpc/runtime/src/main/java/io/quarkus/grpc/runtime/transcoding/GrpcTranscodingResponse.java b/extensions/grpc/runtime/src/main/java/io/quarkus/grpc/runtime/transcoding/GrpcTranscodingResponse.java index 9c9575bcf3f43..a9ef02b80d095 100644 --- a/extensions/grpc/runtime/src/main/java/io/quarkus/grpc/runtime/transcoding/GrpcTranscodingResponse.java +++ b/extensions/grpc/runtime/src/main/java/io/quarkus/grpc/runtime/transcoding/GrpcTranscodingResponse.java @@ -167,7 +167,7 @@ private Future writeMessage(GrpcMessage message, boolean end) { responseHeaders.add(header.getKey(), header.getValue()); } } - + responseHeaders.set("content-type", "application/json"); responseHeaders.set("content-length", String.valueOf(encoded.length())); }