Skip to content

Commit

Permalink
fts-solr: Removed Content-Type header from "select" requests to fix S…
Browse files Browse the repository at this point in the history
…olr v5.1.
  • Loading branch information
sirainen committed Sep 29, 2015
1 parent 36af6ff commit 43da9b9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/plugins/fts-solr/solr-connection.c
Expand Up @@ -431,7 +431,6 @@ int solr_connection_select(struct solr_connection *conn, const char *query,
solr_connection_select_response, conn);
http_client_request_set_port(http_req, conn->http_port);
http_client_request_set_ssl(http_req, conn->http_ssl);
http_client_request_add_header(http_req, "Content-Type", "text/xml");
http_client_request_submit(http_req);

conn->request_status = 0;
Expand Down

0 comments on commit 43da9b9

Please sign in to comment.