1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

curl_easy_setopt.3: CURLOPT_HTTPGET disables CURLOPT_UPLOAD

This commit is contained in:
Daniel Stenberg 2013-04-03 15:39:38 +02:00
parent eb25dd3be2
commit 962eb3d9ed

View File

@ -1485,7 +1485,7 @@ to GET. Usable if a POST, HEAD, PUT, or a custom request has been used
previously using the same curl handle.
When setting \fICURLOPT_HTTPGET\fP to 1, it will automatically set
\fICURLOPT_NOBODY\fP to 0 (since 7.14.1).
\fICURLOPT_NOBODY\fP to 0 and \fICURLOPT_UPLOAD\fP to 0.
.IP CURLOPT_HTTP_VERSION
Pass a long, set to one of the values described below. They force libcurl to
use the specific HTTP versions. This is not sensible to do unless you have a