summaryrefslogtreecommitdiff
path: root/doc/protocol.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/protocol.txt')
-rw-r--r--doc/protocol.txt16
1 files changed, 12 insertions, 4 deletions
diff --git a/doc/protocol.txt b/doc/protocol.txt
index b6bc0ba..c409c8c 100644
--- a/doc/protocol.txt
+++ b/doc/protocol.txt
@@ -19,15 +19,12 @@ will be accepted on the connection.
REQUESTS -------------------------------------------------------------------
-AUTH authmethod connid method uri
+AUTH connid method uri
The AUTH command asks the daemon to perform authentication
for a given set of header from the client. None of the
arguments should contain spaces.
- authmethod: is the authentication method. Methods are
- defined by the daemon in it's config file.
-
connid: a unique string identifying the connection from
the client. This is only important when NTLM is
being used. If not, pass a random string.
@@ -44,6 +41,15 @@ AUTH authmethod connid method uri
Headers should be specified on one line, not 'wrapped' as is
permissible in HTTP.
+SET name value
+
+ Sets a given value for the connection. Examples are listed below:
+
+ Handler: The name of handler to use for authentication (as
+ configured in httpauthd.conf).
+
+ Domain: The domains for digest authentication.
+
QUIT
This closes the connection to the daemon.
@@ -64,6 +70,8 @@ The codes are similar to HTTP:
200 Successful Request
(detail is described below)
+ 202 Accepted
+
4xx Request Error
(detail is an error message)