From 55b6a4adf2bb3e2b9aa4894a7cf3cffc26280425 Mon Sep 17 00:00:00 2001 From: rflosi Date: Tue, 20 Sep 2005 17:50:55 +0000 Subject: Added more information to 404 message --- paste/urlparser.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/paste/urlparser.py b/paste/urlparser.py index 6da96f8..10a0364 100644 --- a/paste/urlparser.py +++ b/paste/urlparser.py @@ -196,7 +196,10 @@ class URLParser(object): environ, '404 Not Found', 'The resource at %s could not be found' - % wsgilib.construct_url(environ), + '' + % (wsgilib.construct_url(environ), + environ.get('SCRIPT_NAME'), environ.get('PATH_INFO'), + self.directory), debug_message=debug_message) start_response(status, headers) return [body] -- cgit v1.2.1