From eb556013557ef8c9e76c52614f88c059ec443c95 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 28 Jul 2015 13:04:55 +0200 Subject: [PATCH] Solr >= 5.1 / content type text/xml YAZ-850 --- src/solr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/solr.c b/src/solr.c index 0db149b..6583c18 100644 --- a/src/solr.c +++ b/src/solr.c @@ -616,9 +616,6 @@ int yaz_solr_encode_request(Z_HTTP_Request *hreq, Z_SRW_PDU *srw_pdu, } strcat(path, uri_args); hreq->path = path; - - z_HTTP_header_add_content_type(encode, &hreq->headers, - "text/xml", charset); return 0; } -- 1.7.10.4