aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-27 21:19:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-27 21:19:54 +0000
commit6f252f470470698ff08cffc23daa7276bbc8d327 (patch)
treee0e223245d584c6683bb24e359b7438e7cd7b05f /docs/libcurl
parentb596c34bed43606b7292e61c93061370ebcab250 (diff)
reset CURLOPT_CUSTOMREQUEST with NULL
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/curl_easy_setopt.32
1 files changed, 2 insertions, 0 deletions
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