Document type of argument for CURLOPT_FOLLOWLOCATION.
This commit is contained in:
committed by
Daniel Stenberg
parent
7441c6d7af
commit
afbd5f978e
@@ -26,7 +26,7 @@ CURLOPT_FOLLOWLOCATION \- follow HTTP 3xx redirects
|
|||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FOLLOWLOCATION, [argument]);
|
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FOLLOWLOCATION, long enable);
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
A parameter set to 1 tells the library to follow any Location: header that the
|
A parameter set to 1 tells the library to follow any Location: header that the
|
||||||
server sends as part of a HTTP header in a 3xx response.
|
server sends as part of a HTTP header in a 3xx response.
|
||||||
|
|||||||
Reference in New Issue
Block a user