summaryrefslogtreecommitdiff
path: root/sys/man/4
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-01-12 00:16:07 +0100
committercinap_lenrek <cinap_lenrek@gmx.de>2013-01-12 00:16:07 +0100
commit6dc133ad99486167343885af1860d4e85a0f946c (patch)
tree62df9633ef90276bdc78fa964b195a82899feb5c /sys/man/4
parentb6a42aa49c1dcbad21afbbdc3aeb1be6cd032548 (diff)
webfs: preauth support
Diffstat (limited to 'sys/man/4')
-rw-r--r--sys/man/4/webfs26
1 files changed, 26 insertions, 0 deletions
diff --git a/sys/man/4/webfs b/sys/man/4/webfs
index 2a50a54ab..4c00d3595 100644
--- a/sys/man/4/webfs
+++ b/sys/man/4/webfs
@@ -59,6 +59,32 @@ file yields the current values of the parameters.
Writing strings of the form
.RB `` attr " " value ''
sets a particular attribute.
+.PP
+The following global parameters can be set:
+.TP
+.B useragent
+Sets the HTTP user agent string.
+.TP
+.B timeout
+Sets the request timeout in seconds.
+.TP
+.BI flushauth " url"
+Flushes any associated authentication information for
+resources under
+.I url
+or all resources if no url was given.
+.TP
+.BI preauth " url realm"
+Preauthenticates all resources under
+.I url
+with the given
+.I realm
+using HTTP Basic authentication. This will cause
+.I webfs
+to preemtively send the resulting authorization information
+not waiting for the server to respond with an
+HTTP 401 Unauthorized status.
+.PP
The top-level directory also contains
numbered directories corresponding to connections, which
may be used to fetch a single URL.