From 30cc1b9a0bedf513b4a7d4f15f6f2414cd3cc61a Mon Sep 17 00:00:00 2001 From: Jay McCarthy Date: Thu, 24 Nov 2011 08:18:56 -0700 Subject: [PATCH] Incorrect documentation --- collects/web-server/scribblings/dispatchers.scrbl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/collects/web-server/scribblings/dispatchers.scrbl b/collects/web-server/scribblings/dispatchers.scrbl index fae23bb87e..16911d3229 100644 --- a/collects/web-server/scribblings/dispatchers.scrbl +++ b/collects/web-server/scribblings/dispatchers.scrbl @@ -277,7 +277,12 @@ a URL that refreshes the password file, servlet cache, etc.} is not authorized and @racket[#f] if the request @emph{is} authorized. } -@defproc[(make-basic-denied?/path [password-file path-string?]) +@defproc[(make-basic-denied?/path [authorized? authorized?/c]) + denied?/c]{ +Creates a denied procedure from an authorized procedure. +} + +@defproc[(password-file->authorized? [password-file path-string?]) (values (-> void) authorized?/c)]{ Creates an authorization procedure based on the given password