@@ -30,7 +30,8 @@ class HttpSender {
3030 uint64_t recv_timeout_in_ms,
3131 std::map<std::string, std::string>* resp_headers,
3232 std::string* resp_body, std::string* err_msg,
33- bool is_check_md5 = false );
33+ bool is_check_md5 = false ,
34+ const std::string& ca_location = " " );
3435
3536 static int SendRequest (const SharedTransferHandler& handler,
3637 const std::string& http_method,
@@ -42,7 +43,8 @@ class HttpSender {
4243 uint64_t recv_timeout_in_ms,
4344 std::map<std::string, std::string>* resp_headers,
4445 std::ostream& resp_stream, std::string* err_msg,
45- bool is_check_md5 = false );
46+ bool is_check_md5 = false ,
47+ const std::string& ca_location = " " );
4648
4749 static int SendRequest (const SharedTransferHandler& handler,
4850 const std::string& http_method,
@@ -53,7 +55,8 @@ class HttpSender {
5355 uint64_t recv_timeout_in_ms,
5456 std::map<std::string, std::string>* resp_headers,
5557 std::string* resp_body, std::string* err_msg,
56- bool is_check_md5 = false );
58+ bool is_check_md5 = false ,
59+ const std::string& ca_location = " " );
5760
5861 static int SendRequest (const SharedTransferHandler& handler,
5962 const std::string& http_method,
@@ -64,7 +67,8 @@ class HttpSender {
6467 uint64_t recv_timeout_in_ms,
6568 std::map<std::string, std::string>* resp_headers,
6669 std::ostream& resp_stream, std::string* err_msg,
67- bool is_check_md5 = false );
70+ bool is_check_md5 = false ,
71+ const std::string& ca_location = " " );
6872
6973 static int SendRequest (const SharedTransferHandler& handler,
7074 const std::string& http_method,
@@ -77,7 +81,8 @@ class HttpSender {
7781 std::map<std::string, std::string>* resp_headers,
7882 std::string* xml_err_str, std::ostream& resp_stream,
7983 std::string* err_msg, uint64_t * real_byte,
80- bool is_check_md5 = false );
84+ bool is_check_md5 = false ,
85+ const std::string& ca_location = " " );
8186};
8287
8388} // namespace qcloud_cos
0 commit comments