diff -r 64ded9f6a6c6 -r 6606616eca9f libidav/methods.c --- a/libidav/methods.c Tue Feb 25 21:11:00 2025 +0100 +++ b/libidav/methods.c Sat Apr 05 16:46:11 2025 +0200 @@ -1102,7 +1102,6 @@ } curl_easy_setopt(handle, CURLOPT_CUSTOMREQUEST, "MKCOL"); - curl_easy_setopt(handle, CURLOPT_PUT, 0L); curl_easy_setopt(handle, CURLOPT_UPLOAD, 0L); curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, dummy_write); @@ -1140,7 +1139,6 @@ } else { curl_easy_setopt(handle, CURLOPT_CUSTOMREQUEST, "MOVE"); } - curl_easy_setopt(handle, CURLOPT_PUT, 0L); curl_easy_setopt(handle, CURLOPT_UPLOAD, 0L); curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, dummy_write);