From 1c4445933d27175e042d545b41f8f9e29f749c5e Mon Sep 17 00:00:00 2001 From: vibr Date: Wed, 11 Aug 2004 10:43:26 +0000 Subject: [PATCH] adapt docu of make-error-response to its reworked interface --- doc/latex/httpd.tex | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/latex/httpd.tex b/doc/latex/httpd.tex index d3ea3d0..b5327f8 100644 --- a/doc/latex/httpd.tex +++ b/doc/latex/httpd.tex @@ -204,17 +204,17 @@ constructing responses lives in the \ex{httpd-responses} structure. \var{Location} must be URI-encoded and begin with a slash. \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} This is a helper procedure for constructing error responses. - \var{code} is status code of the response (see below). \var{Request} - is the request that led to the error. \var{Message} is an optional - string containing an error message written in HTML, and \var{extras} - are further optional arguments containing further message lines to + \ex{Make-error-response} returns a response value the body of which + is a web page explaining the error at hand. + \var{status-code} is the status code of the response (see below). + \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. - - \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} \begin{table}[htb]