Displaying 1 result from an estimated 1 matches for "http_client_request_set_auth_simpl".
Did you mean:
http_client_request_set_auth_simple
2020 Nov 15
2
[patch] enhancement for tika server protected by user/password basic auth
...??????????????? return -1;
@@ -152,6 +152,11 @@
??????????????????????? 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)