diff options
author | des <des@FreeBSD.org> | 2002-11-28 12:07:15 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-11-28 12:07:15 +0000 |
commit | b8dad5d242017f8252e395314aed513516be3306 (patch) | |
tree | a975785e404c570108050c0b7a4fb3ae6fccd9c4 /lib/libfetch/fetch.3 | |
parent | 76681d4bc6ae81d79db586f5960e4d1284f57652 (diff) | |
download | FreeBSD-src-b8dad5d242017f8252e395314aed513516be3306.zip FreeBSD-src-b8dad5d242017f8252e395314aed513516be3306.tar.gz |
Implement and document support for an HTTP_REFERER environment variable.
PR: 28171
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Approved by: re (bmah)
MFC after: 1 week
Diffstat (limited to 'lib/libfetch/fetch.3')
-rw-r--r-- | lib/libfetch/fetch.3 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libfetch/fetch.3 b/lib/libfetch/fetch.3 index 109a422..7600ef5 100644 --- a/lib/libfetch/fetch.3 +++ b/lib/libfetch/fetch.3 @@ -511,6 +511,11 @@ variable. This variable is used if and only if connected to an HTTP proxy, and is ignored if a user and/or a password were specified in the proxy URL. +.It Ev HTTP_REFERER +Specifies the referer URL to use for HTTP requests. +If set to +.Dq auto , +the document URL will be used as referer URL. .It Ev HTTP_USER_AGENT Specifies the User-Agent string to use for HTTP requests. This can be useful when working with HTTP origin or proxy servers that |