QiuMM edited a comment on issue #6709: add charset UTF-8 to log api URL: https://github.com/apache/incubator-druid/pull/6709#issuecomment-444590713 @asdf2014 it seems we can not fix it by adding a `ContainerResponseFilter` since there are no related APIs we can use to do, but I'm not very sure about this. IMO, adding a Checkstyle Regex rule to prohibit `@Produces("text/plain")` would be ok. And for `@Produces(MediaType.APPLICATION_JSON)`, I had impression that the default encoding for JSON is UTF-8 and currently I do not observe any encoding problems for JSON.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
