added charset on payload creation for nara publishing
This commit is contained in:
parent
b2a54f4204
commit
f8e6e04e82
|
@ -125,7 +125,7 @@ public class PublishGraphDBJobNode extends AsyncJobNode {
|
||||||
CloseableHttpResponse responsePPOST = null;
|
CloseableHttpResponse responsePPOST = null;
|
||||||
try {
|
try {
|
||||||
HttpPost post = new HttpPost(getPublishEndpoint());
|
HttpPost post = new HttpPost(getPublishEndpoint());
|
||||||
StringEntity ent = new StringEntity(record);
|
StringEntity ent = new StringEntity(record, "UTF-8");
|
||||||
post.setEntity(ent);
|
post.setEntity(ent);
|
||||||
responsePPOST = client.execute(post);
|
responsePPOST = client.execute(post);
|
||||||
int statusCode = responsePPOST.getStatusLine().getStatusCode();
|
int statusCode = responsePPOST.getStatusLine().getStatusCode();
|
||||||
|
|
Loading…
Reference in New Issue