Remove EXAMPLES section which duplicates text in fetch(3).
This commit is contained in:
parent
4f779fd6b7
commit
ac9fd74eb1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126307
@ -229,28 +229,6 @@ A number of these are quite important to the proper operation of
|
||||
you are strongly encouraged to read
|
||||
.Xr fetch 3
|
||||
as well.
|
||||
.Sh EXAMPLES
|
||||
To access a proxy server on
|
||||
.Pa proxy.example.com
|
||||
port 8080, set the
|
||||
.Ev HTTP_PROXY
|
||||
environment variable in a manner similar to this:
|
||||
.Pp
|
||||
.Dl HTTP_PROXY=http://proxy.example.com:8080
|
||||
.Pp
|
||||
If the proxy server requires authentication, there are
|
||||
two options available for passing the authentication data.
|
||||
The first method is by using the proxy URL:
|
||||
.Pp
|
||||
.Dl HTTP_PROXY=http://<user>:<pwd>@proxy.example.com:8080
|
||||
.Pp
|
||||
The second method is by using the
|
||||
.Ev HTTP_PROXY_AUTH
|
||||
environment variable:
|
||||
.Bd -literal -offset indent
|
||||
HTTP_PROXY=http://proxy.example.com:8080
|
||||
HTTP_PROXY_AUTH=basic:*:<user>:<pwd>
|
||||
.Ed
|
||||
.Sh SEE ALSO
|
||||
.Xr fetch 3
|
||||
.Sh HISTORY
|
||||
|
Loading…
Reference in New Issue
Block a user