From 69b6953681d3e3172e27ef59c541d6b705ad6f9b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 28 Dec 2023 23:03:40 +0100 Subject: [PATCH] CURLOPT_AUTOREFERER.3: mention CURLINFO_REFERER --- docs/libcurl/opts/CURLOPT_AUTOREFERER.3 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/libcurl/opts/CURLOPT_AUTOREFERER.3 b/docs/libcurl/opts/CURLOPT_AUTOREFERER.3 index 5f94efc009..e35f704118 100644 --- a/docs/libcurl/opts/CURLOPT_AUTOREFERER.3 +++ b/docs/libcurl/opts/CURLOPT_AUTOREFERER.3 @@ -39,6 +39,9 @@ when it follows a Location: redirect to a new destination. The automatic referer is set to the full previous URL even when redirects are done cross-origin or following redirects to insecure protocols. This is considered a minor privacy leak by some. + +With \fICURLINFO_REFERER(3)\fP, applications can extract the actually used +referer header after the transfer. .SH DEFAULT 0, disabled .SH PROTOCOLS @@ -71,5 +74,6 @@ Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. .SH "SEE ALSO" .BR CURLINFO_EFFECTIVE_URL (3), .BR CURLINFO_REDIRECT_URL (3), +.BR CURLINFO_REFERER (3), .BR CURLOPT_FOLLOWLOCATION (3), .BR CURLOPT_REFERER (3) -- 2.47.3