aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpclient.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2026-03-11 16:12:00 +0100
committerGitHub Enterprise <[email protected]>2026-03-11 16:12:00 +0100
commit1a3a175a2ca0c06a29e6a679c325395c8008a17e (patch)
tree21156d69bb90bc5c6f539fff02e4c23c229269a4 /src/zenhttp/httpclient.cpp
parentimproved oplog import progress reporting (#825) (diff)
downloadzen-1a3a175a2ca0c06a29e6a679c325395c8008a17e.tar.xz
zen-1a3a175a2ca0c06a29e6a679c325395c8008a17e.zip
added streaming download of payloads http client Post (#824)
* added streaming download of payloads in cpr client ::Post * curlclient Post streaming download * case sensitivity fixes for http headers * move over missing functionality from crpclient to httpclient
Diffstat (limited to 'src/zenhttp/httpclient.cpp')
-rw-r--r--src/zenhttp/httpclient.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/zenhttp/httpclient.cpp b/src/zenhttp/httpclient.cpp
index 9baf4346e..deeeb6c85 100644
--- a/src/zenhttp/httpclient.cpp
+++ b/src/zenhttp/httpclient.cpp
@@ -440,9 +440,12 @@ HttpClient::Post(std::string_view Url, const IoBuffer& Payload, ZenContentType C
}
HttpClient::Response
-HttpClient::Post(std::string_view Url, CbObject Payload, const HttpClient::KeyValueMap& AdditionalHeader)
+HttpClient::Post(std::string_view Url,
+ CbObject Payload,
+ const HttpClient::KeyValueMap& AdditionalHeader,
+ const std::filesystem::path& TempFolderPath)
{
- return m_Inner->Post(Url, Payload, AdditionalHeader);
+ return m_Inner->Post(Url, Payload, AdditionalHeader, TempFolderPath);
}
HttpClient::Response