reset CURLOPT_CUSTOMREQUEST with NULL

This commit is contained in:
Daniel Stenberg 2004-06-27 21:19:54 +00:00
parent b596c34bed
commit 6f252f4704
1 changed files with 2 additions and 0 deletions

View File

@ -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