Remove HttpFile to FormPart; refine payload prepare.
This commit is contained in:
+1
-1
@@ -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_ += "&";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user