]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLINFO_REFERER.3: clarify that it is the *request* header
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Dec 2023 17:19:24 +0000 (18:19 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 28 Dec 2023 23:39:54 +0000 (00:39 +0100)
That libcurl itself sent in the most recent request

Closes #12605

docs/libcurl/opts/CURLINFO_REFERER.3

index 550ccf9aee538419f82f3264a7b9e6f9d40eda0b..cc1a3c6673a6876139023247ff164ba4372ca870 100644 (file)
@@ -24,7 +24,7 @@
 .\"
 .TH CURLINFO_REFERER 3 "11 Feb 2021" libcurl libcurl
 .SH NAME
-CURLINFO_REFERER \- get the referrer header
+CURLINFO_REFERER \- get the used referrer request header
 .SH SYNOPSIS
 .nf
 #include <curl/curl.h>
@@ -32,7 +32,8 @@ CURLINFO_REFERER \- get the referrer header
 CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_REFERER, char **hdrp);
 .fi
 .SH DESCRIPTION
-Pass in a pointer to a char pointer and get the referrer header.
+Pass in a pointer to a char pointer and get the referrer header used in the
+most recent request.
 
 The \fBhdrp\fP pointer is NULL or points to private memory you MUST NOT free -
 it gets freed when you call \fIcurl_easy_cleanup(3)\fP on the corresponding