From 9680267cf1b4e15f3a848ee94739f8f2c473fe41 Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Thu, 21 Feb 2008 00:26:29 +0000 Subject: [PATCH] Added small note to refer to next-dispatcher when dispatch-files doesn't apply svn: r8749 --- collects/web-server/scribblings/dispatchers.scrbl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/collects/web-server/scribblings/dispatchers.scrbl b/collects/web-server/scribblings/dispatchers.scrbl index 8c65d2576f..319a46342b 100644 --- a/collects/web-server/scribblings/dispatchers.scrbl +++ b/collects/web-server/scribblings/dispatchers.scrbl @@ -286,7 +286,8 @@ a URL that refreshes the password file, servlet cache, etc.} [#:indices indices (listof string?) (list "index.html" "index.htm")]) dispatcher?]{ Uses @scheme[url->path] to extract a path from the URL in the request - object. If this path does not exist, then the dispatcher does not apply. + object. If this path does not exist, then the dispatcher does not apply and + @scheme[next-dispatcher] is invoked. If the path is a directory, then the @scheme[indices] are checked in order for an index file to serve. In that case, or in the case of a path that is a file already, @scheme[path->mime-type] is consulted for the MIME