- find_handler(+Path, -Action, -Options) is det[private]
- Find the handler to call from Path. Rules:
- If there is a matching handler, use this.
- If there are multiple
prefix(Path)handlers, use the longest.
If there is a handler for
/dir/and the requested path is
/dir, find_handler/3 throws a http_reply exception, causing the wrapper to generate a 301 (Moved Permanently) reply.