mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-10 03:54:54 -06:00
Web: HttpClient::Header
git-svn-id: svn://ultimatepp.org/upp/trunk@4066 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
bd932cd563
commit
c2ff5c1e85
3 changed files with 8 additions and 1 deletions
|
|
@ -193,6 +193,12 @@ String HttpClient::CalculateDigest(String authenticate) const
|
|||
return auth;
|
||||
}
|
||||
|
||||
HttpClient& HttpClient::Header(const char *id, const String& data)
|
||||
{
|
||||
client_headers << id << ": " << data << "\r\n";
|
||||
return *this;
|
||||
}
|
||||
|
||||
String HttpClient::Execute(Gate2<int, int> progress)
|
||||
{
|
||||
int start_time = msecs();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue