From 6f252f470470698ff08cffc23daa7276bbc8d327 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 27 Jun 2004 21:19:54 +0000 Subject: reset CURLOPT_CUSTOMREQUEST with NULL --- docs/libcurl/curl_easy_setopt.3 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/libcurl') diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 95d699a11..670eacd91 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 -- cgit v1.2.3