adapt docu of make-error-response to its reworked interface

This commit is contained in:
vibr 2004-08-11 10:43:26 +00:00
parent f22f43ccd1
commit 1c4445933d
1 changed files with 8 additions and 8 deletions

View File

@ -204,17 +204,17 @@ constructing responses lives in the \ex{httpd-responses} structure.
\var{Location} must be URI-encoded and begin with a slash. \var{Location} must be URI-encoded and begin with a slash.
\end{desc} \end{desc}
\defun{make-error-response}{status-code request [message] extras \ldots}{response} \defun{make-error-response}{status-code request extra \ldots}{response}
\begin{desc} \begin{desc}
This is a helper procedure for constructing error responses. This is a helper procedure for constructing error responses.
\var{code} is status code of the response (see below). \var{Request} \ex{Make-error-response} returns a response value the body of which
is the request that led to the error. \var{Message} is an optional is a web page explaining the error at hand.
string containing an error message written in HTML, and \var{extras} \var{status-code} is the status code of the response (see below).
are further optional arguments containing further message lines to \var{request}
is the request that led to the error. \var{extra} are the further
arguments required for this specific \var{status-code} and
optionally further information-bits (preferably strings in HTML) to
be added to the web page that's generated. be added to the web page that's generated.
\ex{Make-error-response} constructs a response value which generates
a web page containg a short explanatory message for the error at hand.
\end{desc} \end{desc}
\begin{table}[htb] \begin{table}[htb]