Remove HttpFile to FormPart; refine payload prepare.

This commit is contained in:
Chunting Gu
2019-04-12 14:18:23 +08:00
parent 80d0c73617
commit a96109c3b7
24 changed files with 451 additions and 316 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ void Url::Init(const std::string& str, bool decode, bool clear) {
}
}
void Url::AddParameter(const std::string& key, const std::string& value) {
void Url::AddQuery(const std::string& key, const std::string& value) {
if (!query_.empty()) {
query_ += "&";
}