CURLOPT_AUTOREFERER.3: clarify that it sets the full URL

... some users may not want that!
This commit is contained in:
Daniel Stenberg 2021-03-30 14:47:14 +02:00
parent 33ba0ecf48
commit 5a80a869a7
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" *
.\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms
@ -29,8 +29,8 @@ CURLOPT_AUTOREFERER \- automatically update the referer header
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_AUTOREFERER, long autorefer);
.SH DESCRIPTION
Pass a parameter set to 1 to enable this. When enabled, libcurl will
automatically set the Referer: header field in HTTP requests where it follows
a Location: redirect.
automatically set the Referer: header field in HTTP requests to the full URL
where it follows a Location: redirect.
.SH DEFAULT
0, disabled
.SH PROTOCOLS