manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1821345 - /manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchIndex.java
Date Wed, 17 Jan 2018 05:48:30 GMT
Author: kwright
Date: Wed Jan 17 05:48:29 2018
New Revision: 1821345

URL: http://svn.apache.org/viewvc?rev=1821345&view=rev
Log:
Fix for CONNECTORS-1488.  Committed on behalf of Richard Wardrobe.

Modified:
    manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchIndex.java

Modified: manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchIndex.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchIndex.java?rev=1821345&r1=1821344&r2=1821345&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchIndex.java
(original)
+++ manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchIndex.java
Wed Jan 17 05:48:29 2018
@@ -242,7 +242,7 @@ public class ElasticSearchIndex extends
 
     @Override
     public Header getContentType() {
-      return new BasicHeader("Content-type","application/x-www-form-urlencoded");
+      return new BasicHeader("Content-type","application/json");
     }
 
     @Override



Mime
View raw message