yu199195 commented on code in PR #4266:
URL: https://github.com/apache/shenyu/pull/4266#discussion_r1051840237


##########
shenyu-plugin/shenyu-plugin-api/src/main/java/org/apache/shenyu/plugin/api/result/ShenyuResult.java:
##########
@@ -70,7 +70,7 @@ default MediaType contentType(ServerWebExchange exchange, 
Object formatted) {
         if (Objects.nonNull(clientResponse) && 
clientResponse.headers().contentType().isPresent()) {
             return clientResponse.headers().contentType().get();
         }
-        return MediaType.APPLICATION_JSON;
+        return MediaType.APPLICATION_JSON_UTF8;

Review Comment:
   Are they different, can they be dynamically configured or returned based on 
front-end incoming?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to