]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_AUTOREFERER.3: mention CURLINFO_REFERER
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Dec 2023 22:03:40 +0000 (23:03 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 28 Dec 2023 23:40:03 +0000 (00:40 +0100)
docs/libcurl/opts/CURLOPT_AUTOREFERER.3

index 5f94efc0090edb54d149a32ff8f9dbd2e4b5cdb0..e35f7041187d1e220a2811deae4b3cd5d4c15ad5 100644 (file)
@@ -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)