manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1822328 - /manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java
Date Fri, 26 Jan 2018 16:04:11 GMT
Author: kwright
Date: Fri Jan 26 16:04:11 2018
New Revision: 1822328

URL: http://svn.apache.org/viewvc?rev=1822328&view=rev
Log:
Allow mime types with space separator.  This is technically not allowed but is used by some.

Modified:
    manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java

Modified: manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java?rev=1822328&r1=1822327&r2=1822328&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java
(original)
+++ manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java
Fri Jan 26 16:04:11 2018
@@ -799,6 +799,9 @@ public class HttpPoster
     acceptableMimeTypes.add("text/plain;charset=utf-8");
     acceptableMimeTypes.add("text/plain;charset=ascii");
     acceptableMimeTypes.add("text/plain;charset=us-ascii");
+    acceptableMimeTypes.add("text/plain; charset=utf-8");
+    acceptableMimeTypes.add("text/plain; charset=ascii");
+    acceptableMimeTypes.add("text/plain; charset=us-ascii");
     acceptableMimeTypes.add("text/plain");
   }
 



Mime
View raw message