Skip to content

Commit

Permalink
feat(transcoding): removed unnecessary encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
zZHorizonZz committed Apr 20, 2024
1 parent 817d9a0 commit 3e9ce41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private Future<Void> 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()));
}
Expand Down

0 comments on commit 3e9ce41

Please sign in to comment.