1 From c8b0b467a140d8a67157f5cee26a8510444706be Mon Sep 17 00:00:00 2001
2 From: Niklas Korz <niklas@niklaskorz.de>
3 Date: Wed, 4 Sep 2024 14:52:47 +0200
4 Subject: [PATCH 3/3] Fix curl deprecations
7 packager/file/http_file.cc | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/packager/file/http_file.cc b/packager/file/http_file.cc
11 index b50fef6f07..dca43e26ca 100644
12 --- a/packager/file/http_file.cc
13 +++ b/packager/file/http_file.cc
14 @@ -311,7 +311,7 @@ void HttpFile::SetupRequest() {
15 curl_easy_setopt(curl, CURLOPT_POST, 1L);
17 case HttpMethod::kPut:
18 - curl_easy_setopt(curl, CURLOPT_PUT, 1L);
19 + curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);