From: Daniel Stenberg Date: Sun, 27 Jun 2004 21:19:54 +0000 (+0000) Subject: reset CURLOPT_CUSTOMREQUEST with NULL X-Git-Tag: upstream/7.37.1~12433 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f252f470470698ff08cffc23daa7276bbc8d327;p=platform%2Fupstream%2Fcurl.git reset CURLOPT_CUSTOMREQUEST with NULL --- diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 95d699a..670eacd 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -721,6 +721,8 @@ when doing an ftp directory listing. This is useful for doing DELETE or other more or less obscure HTTP requests. Don't do this at will, make sure your server supports the command first. +Restore to the internal default by setting this to NULL. + \fBNOTE:\fP Many people have wrongly used this option to replace the entire request with their own, including multiple headers and POST contents. While that might work in many cases, it will cause libcurl to send invalid requests