diff --git a/cpp/httpclientpool.cc b/cpp/httpclientpool.cc index 44e03bd..f043dc4 100644 --- a/cpp/httpclientpool.cc +++ b/cpp/httpclientpool.cc @@ -51,6 +51,7 @@ namespace f8 std::string url_params; std::string content; a8::XObject headers; + std::map kv_params; AsyncHttpNode* nextnode = nullptr; }; @@ -162,9 +163,14 @@ namespace f8 } } + void ProcSign(AsyncHttpNode* node) + { + + } void ProcAsyncHttp(AsyncHttpNode* node) { + ProcSign(node); std::string finally_url; if (node->url.find('?') != std::string::npos) { finally_url = node->url + node->url_params; @@ -388,6 +394,7 @@ namespace f8 node->method = method; node->url = url; url_params.ToUrlEncodeStr(node->url_params); + // url_params.ToKVList(node->kv_params); node->content = std::string(content); if (headers) { headers->DeepCopy(node->headers);