|
|
@@ -539,8 +539,7 @@ public class HttpUtil {
|
|
|
HttpPost post = new HttpPost(postUrl);
|
|
|
StringEntity postingString = new StringEntity(formData, HTTP.UTF_8);
|
|
|
post.setEntity(postingString);
|
|
|
- post.setHeader("Content-type", "application/json");
|
|
|
- post.setHeader("Connection", "close");
|
|
|
+ post.setHeader("Content-type", "application/json");
|
|
|
CloseableHttpResponse response = httpClient.execute(post);
|
|
|
return Response.getResponse(response);
|
|
|
}
|