diff --git a/Source/CTest/cmCTestCurl.cxx b/Source/CTest/cmCTestCurl.cxx index 84161f93b4..13b0278b2a 100644 --- a/Source/CTest/cmCTestCurl.cxx +++ b/Source/CTest/cmCTestCurl.cxx @@ -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"); diff --git a/Source/CTest/cmCTestSubmitHandler.cxx b/Source/CTest/cmCTestSubmitHandler.cxx index 2bc270e000..3ff8c8f280 100644 --- a/Source/CTest/cmCTestSubmitHandler.cxx +++ b/Source/CTest/cmCTestSubmitHandler.cxx @@ -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);