|
|
@@ -505,7 +505,8 @@ public class HttpUtil {
|
|
|
CloseableHttpClient httpClient = HttpClients.custom().setConnectionManager(connManager).build();
|
|
|
CloseableHttpResponse response = null;
|
|
|
try {
|
|
|
- request.setEntity(new StringEntity(body));
|
|
|
+ request.setHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
|
|
|
+ request.setEntity(new StringEntity(body,"UTF-8"));
|
|
|
response = httpClient.execute(request);
|
|
|
return Response.getResponse(response);
|
|
|
} finally {
|