From e1d641f684fa640152916f817e99bb3a9c9e0b8a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 31 Dec 2022 08:00:47 +0100 Subject: [PATCH] lib/curl/Easy: drop deprecated CURLOPT_HTTPPOST wrapper --- src/lib/curl/Easy.hxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib/curl/Easy.hxx b/src/lib/curl/Easy.hxx index 84b434e32..221eda326 100644 --- a/src/lib/curl/Easy.hxx +++ b/src/lib/curl/Easy.hxx @@ -186,10 +186,6 @@ public: SetOption(CURLOPT_POSTFIELDSIZE, (long)size); } - void SetHttpPost(const struct curl_httppost *post) { - SetOption(CURLOPT_HTTPPOST, post); - } - template bool GetInfo(CURLINFO info, T value_r) const noexcept { return ::curl_easy_getinfo(handle, info, value_r) == CURLE_OK;