mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
ctest: Drop unnecessary use of deprecated CURLOPT_PUT
All usage sites are already preceded by use of its replacement, CURLOPT_UPLOAD.
This commit is contained in:
@@ -118,8 +118,6 @@ bool cmCTestCurl::UploadFile(std::string const& local_file,
|
||||
/* enable uploading */
|
||||
curl_easy_setopt(this->Curl, CURLOPT_UPLOAD, 1);
|
||||
|
||||
/* HTTP PUT please */
|
||||
::curl_easy_setopt(this->Curl, CURLOPT_PUT, 1);
|
||||
::curl_easy_setopt(this->Curl, CURLOPT_VERBOSE, 1);
|
||||
|
||||
FILE* ftpfile = cmsys::SystemTools::Fopen(local_file, "rb");
|
||||
|
||||
@@ -223,8 +223,6 @@ bool cmCTestSubmitHandler::SubmitUsingHTTP(
|
||||
submitInactivityTimeout);
|
||||
}
|
||||
|
||||
/* HTTP PUT please */
|
||||
::curl_easy_setopt(curl, CURLOPT_PUT, 1);
|
||||
::curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
|
||||
|
||||
::curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
|
||||
|
||||
Reference in New Issue
Block a user