*Web: HttpClient Post(id, text) now calls Post() method

git-svn-id: svn://ultimatepp.org/upp/trunk@4074 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2011-10-20 19:49:13 +00:00
parent ccdf3336c4
commit 944c834dde
2 changed files with 2 additions and 1 deletions

View file

@ -99,6 +99,7 @@ String HttpClient::ReadUntilProgress(char until, int start_time, int end_time, G
HttpClient& HttpClient::Post(const char *id, const String& data)
{
Post();
if(postdata.GetCount())
postdata << '&';
postdata << id << '=' << UrlEncode(data);