Loading docs/libcurl/curl_easy_setopt.3 +3 −2 Original line number Original line Diff line number Diff line Loading @@ -21,7 +21,7 @@ .\" * $Id$ .\" * $Id$ .\" ************************************************************************** .\" ************************************************************************** .\" .\" .TH curl_easy_setopt 3 "30 Jul 2008" "libcurl 7.19.0" "libcurl Manual" .TH curl_easy_setopt 3 "16 Oct 2008" "libcurl 7.19.1" "libcurl Manual" .SH NAME .SH NAME curl_easy_setopt \- set options for a curl easy handle curl_easy_setopt \- set options for a curl easy handle .SH SYNOPSIS .SH SYNOPSIS Loading Loading @@ -729,13 +729,14 @@ redirections have been followed, the next redirect will cause an error \fICURLOPT_FOLLOWLOCATION\fP is used at the same time. Added in 7.15.1: \fICURLOPT_FOLLOWLOCATION\fP is used at the same time. Added in 7.15.1: Setting the limit to 0 will make libcurl refuse any redirect. Set it to -1 for Setting the limit to 0 will make libcurl refuse any redirect. Set it to -1 for an infinite number of redirects (which is the default) an infinite number of redirects (which is the default) .IP CURLOPT_POST301 .IP CURLOPT_POSTREDIR A parameter set to 1 tells the library to respect RFC 2616/10.3.2 and not A parameter set to 1 tells the library to respect RFC 2616/10.3.2 and not convert POST requests into GET requests when following a 301 redirection. The convert POST requests into GET requests when following a 301 redirection. The non-RFC behaviour is ubiquitous in web browsers, so the library does the non-RFC behaviour is ubiquitous in web browsers, so the library does the conversion by default to maintain consistency. However, a server may requires conversion by default to maintain consistency. However, a server may requires a POST to remain a POST after such a redirection. This option is meaningful a POST to remain a POST after such a redirection. This option is meaningful only when setting \fICURLOPT_FOLLOWLOCATION\fP. (Added in 7.17.1) only when setting \fICURLOPT_FOLLOWLOCATION\fP. (Added in 7.17.1) (This option was known as CURLOPT_POST301 up to 7.19.0) .IP CURLOPT_PUT .IP CURLOPT_PUT A parameter set to 1 tells the library to use HTTP PUT to transfer data. The A parameter set to 1 tells the library to use HTTP PUT to transfer data. The data should be set with \fICURLOPT_READDATA\fP and \fICURLOPT_INFILESIZE\fP. data should be set with \fICURLOPT_READDATA\fP and \fICURLOPT_INFILESIZE\fP. Loading Loading
docs/libcurl/curl_easy_setopt.3 +3 −2 Original line number Original line Diff line number Diff line Loading @@ -21,7 +21,7 @@ .\" * $Id$ .\" * $Id$ .\" ************************************************************************** .\" ************************************************************************** .\" .\" .TH curl_easy_setopt 3 "30 Jul 2008" "libcurl 7.19.0" "libcurl Manual" .TH curl_easy_setopt 3 "16 Oct 2008" "libcurl 7.19.1" "libcurl Manual" .SH NAME .SH NAME curl_easy_setopt \- set options for a curl easy handle curl_easy_setopt \- set options for a curl easy handle .SH SYNOPSIS .SH SYNOPSIS Loading Loading @@ -729,13 +729,14 @@ redirections have been followed, the next redirect will cause an error \fICURLOPT_FOLLOWLOCATION\fP is used at the same time. Added in 7.15.1: \fICURLOPT_FOLLOWLOCATION\fP is used at the same time. Added in 7.15.1: Setting the limit to 0 will make libcurl refuse any redirect. Set it to -1 for Setting the limit to 0 will make libcurl refuse any redirect. Set it to -1 for an infinite number of redirects (which is the default) an infinite number of redirects (which is the default) .IP CURLOPT_POST301 .IP CURLOPT_POSTREDIR A parameter set to 1 tells the library to respect RFC 2616/10.3.2 and not A parameter set to 1 tells the library to respect RFC 2616/10.3.2 and not convert POST requests into GET requests when following a 301 redirection. The convert POST requests into GET requests when following a 301 redirection. The non-RFC behaviour is ubiquitous in web browsers, so the library does the non-RFC behaviour is ubiquitous in web browsers, so the library does the conversion by default to maintain consistency. However, a server may requires conversion by default to maintain consistency. However, a server may requires a POST to remain a POST after such a redirection. This option is meaningful a POST to remain a POST after such a redirection. This option is meaningful only when setting \fICURLOPT_FOLLOWLOCATION\fP. (Added in 7.17.1) only when setting \fICURLOPT_FOLLOWLOCATION\fP. (Added in 7.17.1) (This option was known as CURLOPT_POST301 up to 7.19.0) .IP CURLOPT_PUT .IP CURLOPT_PUT A parameter set to 1 tells the library to use HTTP PUT to transfer data. The A parameter set to 1 tells the library to use HTTP PUT to transfer data. The data should be set with \fICURLOPT_READDATA\fP and \fICURLOPT_INFILESIZE\fP. data should be set with \fICURLOPT_READDATA\fP and \fICURLOPT_INFILESIZE\fP. Loading