summaryrefslogtreecommitdiff
path: root/lib/libfetch/fetch.3
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2000-10-12 16:55:52 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2000-10-12 16:55:52 +0000
commit89d755e156ecf2eafe98fcf947b2a4cfe9b1a75a (patch)
tree7b228f4fb2cc3e8c2155ce1a4bb3958ce62bd47e /lib/libfetch/fetch.3
parent487bdb3855ed82a39c80e5aae8777fba22e2d380 (diff)
Notes
Diffstat (limited to 'lib/libfetch/fetch.3')
-rw-r--r--lib/libfetch/fetch.314
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/libfetch/fetch.3 b/lib/libfetch/fetch.3
index 9c4249f71916..bd6df15646cf 100644
--- a/lib/libfetch/fetch.3
+++ b/lib/libfetch/fetch.3
@@ -416,7 +416,7 @@ and message, e.g. "File is not available (404 Not Found)"
.Sh ENVIRONMENT
.Bl -tag -width HTTP_PROXY_AUTH
.It Ev FTP_PROXY
-host name of the FTP proxy to use, optionally followed by a port
+Host name of the FTP proxy to use, optionally followed by a port
number separated from the host name by a colon.
.Nm libfetch
will send
@@ -426,23 +426,28 @@ as user name to the proxy, where
is the real user name, and
.Ql host
is the name of the FTP server.
+.Pp
If this variable is set to an empty string, no proxy will be used for
FTP requests, even if the
.Ev HTTP_PROXY
variable is set.
.It Ev HTTP_AUTH
-Specifies HTTP authorization parameters, used only if the server
-requires authorization and no user name or password was specified in
-the URL.
+Specifies HTTP authorization parameters as a colon-separated list of
+items.
The first and second item are the authorization scheme and realm
respectively; further items are scheme-dependent.
Currently, only basic authorization is supported.
+.Pp
Basic authorization requires two parameters: the user name and
password, in that order.
+.Pp
+This variable is only used if the server requires authorization and
+no user name or password was specified in the URL.
.It Ev HTTP_PROXY
host name of the HTTP proxy to use, optionally followed by a port
number separated from the host name by a colon.
If no port number is specified, the default is 3128.
+.Pp
Note that the HTTP proxy will also be used for FTP documents, unless
the
.Ev FTP_PROXY
@@ -452,6 +457,7 @@ Specifies authorization parameters for the HTTP proxy in the same
format as the
.Ev HTTP_AUTH
variable.
+.Pp
The value of this variable is used if and only if connected to an HTTP
proxy.
.El