Displaying 2 results from an estimated 2 matches for "http_req".
2015 Sep 27
1
dovecot, fts, solr5 patch, fuzzy search
...- dovecot-2.2.18/src/plugins/fts-solr/solr-connection.c 2015-05-13
17:14:45.000000000 +0300
+++
dovecot-2.2.18.patch/src/plugins/fts-solr/solr-connection.c 2015-09-27
19:47:40.363843359 +0300
@@ -432,7 +432,6 @@
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;
After that it works just fine. And it seems it do...
2020 Nov 15
2
[patch] enhancement for tika server protected by user/password basic auth
...????????? http_url->host.name,
??????????????????????? t_strconcat(http_url->path, http_url->enc_query,
NULL),
??????????????????????? fts_tika_parser_response, parser);
+??????? if (http_url->user != NULL) {
+??????????????? http_client_request_set_auth_simple(
+??????????????????????? http_req, http_url->user, http_url->password);
+??????? }
+
??????? http_client_request_set_port(http_req, http_url->port);
??????? http_client_request_set_ssl(http_req, http_url->have_ssl);
??????? if (parser_context->content_type != NULL)