Solr >= 5.1 / content type text/xml YAZ-850
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 28 Jul 2015 11:04:55 +0000 (13:04 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 28 Jul 2015 11:04:55 +0000 (13:04 +0200)
src/solr.c

index 0db149b..6583c18 100644 (file)
@@ -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;
 }