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:
Brad King
2023-01-27 15:41:31 -05:00
parent 7ac338be98
commit 1cd38de47f
2 changed files with 0 additions and 4 deletions

View File

@@ -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");

View File

@@ -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);