Skip to content

Commit

Permalink
Set charset parameter to content-type header in report service. Close #…
Browse files Browse the repository at this point in the history
  • Loading branch information
yyuueexxiinngg committed Aug 17, 2020
1 parent 4faa9d1 commit aaceb60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class ReportService(
}
}
method = HttpMethod.Post
body = TextContent(json, ContentType.Application.Json)
body = TextContent(json, ContentType.Application.Json.withParameter("charset", "utf-8"))
}
logger.debug("收到上报响应 $res")
if (shouldHandleOperation && res != null && res != "") {
Expand Down

0 comments on commit aaceb60

Please sign in to comment.