aboutsummaryrefslogtreecommitdiff
path: root/lib/libfetch/fetch.3
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2013-07-30 13:07:55 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2013-07-30 13:07:55 +0000
commit1453595f49c6b0d580bb57146a5981e73e80130e (patch)
treec1861e9adce3415d9dfbd32bebf77ef0dbdc08eb /lib/libfetch/fetch.3
parentcb67f01df2ae21b3d71ce96fd3812d4e2eb7edd5 (diff)
downloadsrc-1453595f49c6b0d580bb57146a5981e73e80130e.tar.gz
src-1453595f49c6b0d580bb57146a5981e73e80130e.zip
Include an Accept header in requests.
PR: kern/180917 MFC after: 1 week
Notes
Notes: svn path=/head/; revision=253805
Diffstat (limited to 'lib/libfetch/fetch.3')
-rw-r--r--lib/libfetch/fetch.313
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/libfetch/fetch.3 b/lib/libfetch/fetch.3
index 34ca445a1eaa..6b2e4c00b50b 100644
--- a/lib/libfetch/fetch.3
+++ b/lib/libfetch/fetch.3
@@ -1,5 +1,5 @@
.\"-
-.\" Copyright (c) 1998-2011 Dag-Erling Smørgrav
+.\" Copyright (c) 1998-2013 Dag-Erling Smørgrav
.\" Copyright (c) 2013 Michael Gmelin <freebsd@grem.de>
.\" All rights reserved.
.\"
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 25, 2013
+.Dd July 30, 2013
.Dt FETCH 3
.Os
.Sh NAME
@@ -571,6 +571,15 @@ variable is set.
Same as
.Ev FTP_PROXY ,
for compatibility.
+.It Ev HTTP_ACCEPT
+Specifies the value of the
+.Va Accept
+header for HTTP requests.
+If empty, no
+.Va Accept
+header is sent.
+The default is
+.Dq */* .
.It Ev HTTP_AUTH
Specifies HTTP authorization parameters as a colon-separated list of
items.