1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Document type of argument for CURLOPT_FOLLOWLOCATION.

This commit is contained in:
Dimitrios Siganos 2014-07-02 11:41:40 +02:00 committed by Daniel Stenberg
parent 7441c6d7af
commit afbd5f978e

View File

@ -26,7 +26,7 @@ CURLOPT_FOLLOWLOCATION \- follow HTTP 3xx redirects
.SH SYNOPSIS
#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
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.