mirror of
https://github.com/curl/curl.git
synced 2026-04-19 07:21:14 +03:00
reset CURLOPT_CUSTOMREQUEST with NULL
This commit is contained in:
parent
b596c34bed
commit
6f252f4704
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue