1.1 --- a/examples/BaseHTTPRequestHandler/AuthApp.py Tue Oct 23 23:28:13 2007 +0000 1.2 +++ b/examples/BaseHTTPRequestHandler/AuthApp.py Sat Oct 27 21:26:46 2007 +0000 1.3 @@ -4,6 +4,6 @@ 1.4 from Auth import AuthResource, AuthAuthenticator 1.5 1.6 print "Serving..." 1.7 -deploy(AuthResource(), AuthAuthenticator()) 1.8 +deploy(AuthResource(), AuthAuthenticator(), handle_errors=0) 1.9 1.10 # vim: tabstop=4 expandtab shiftwidth=4
2.1 --- a/examples/BaseHTTPRequestHandler/CalendarApp.py Tue Oct 23 23:28:13 2007 +0000 2.2 +++ b/examples/BaseHTTPRequestHandler/CalendarApp.py Sat Oct 27 21:26:46 2007 +0000 2.3 @@ -7,7 +7,7 @@ 2.4 2.5 # Choose or customise one of the following if the example fails. 2.6 2.7 -deploy(CalendarResource()) 2.8 -#deploy(CalendarResource("iso-8859-1")) 2.9 +deploy(CalendarResource(), handle_errors=0) 2.10 +#deploy(CalendarResource("iso-8859-1"), handle_errors=0) 2.11 2.12 # vim: tabstop=4 expandtab shiftwidth=4
3.1 --- a/examples/BaseHTTPRequestHandler/CookiesApp.py Tue Oct 23 23:28:13 2007 +0000 3.2 +++ b/examples/BaseHTTPRequestHandler/CookiesApp.py Sat Oct 27 21:26:46 2007 +0000 3.3 @@ -4,6 +4,6 @@ 3.4 from Cookies import CookiesResource 3.5 3.6 print "Serving..." 3.7 -deploy(CookiesResource()) 3.8 +deploy(CookiesResource(), handle_errors=0) 3.9 3.10 # vim: tabstop=4 expandtab shiftwidth=4
4.1 --- a/examples/BaseHTTPRequestHandler/FormApp.py Tue Oct 23 23:28:13 2007 +0000 4.2 +++ b/examples/BaseHTTPRequestHandler/FormApp.py Sat Oct 27 21:26:46 2007 +0000 4.3 @@ -4,6 +4,6 @@ 4.4 from Form import FormResource 4.5 4.6 print "Serving..." 4.7 -deploy(FormResource()) 4.8 +deploy(FormResource(), handle_errors=0) 4.9 4.10 # vim: tabstop=4 expandtab shiftwidth=4
5.1 --- a/examples/BaseHTTPRequestHandler/LoginApp.py Tue Oct 23 23:28:13 2007 +0000 5.2 +++ b/examples/BaseHTTPRequestHandler/LoginApp.py Sat Oct 27 21:26:46 2007 +0000 5.3 @@ -15,7 +15,7 @@ 5.4 ) 5.5 ), 5.6 address=("", 8081), 5.7 - handle_errors=1 5.8 + handle_errors=0 5.9 ) 5.10 5.11 # vim: tabstop=4 expandtab shiftwidth=4
6.1 --- a/examples/BaseHTTPRequestHandler/SessionsApp.py Tue Oct 23 23:28:13 2007 +0000 6.2 +++ b/examples/BaseHTTPRequestHandler/SessionsApp.py Sat Oct 27 21:26:46 2007 +0000 6.3 @@ -4,6 +4,6 @@ 6.4 from Sessions import SessionsResource 6.5 6.6 print "Serving..." 6.7 -deploy(SessionsResource()) 6.8 +deploy(SessionsResource(), handle_errors=0) 6.9 6.10 # vim: tabstop=4 expandtab shiftwidth=4
7.1 --- a/examples/BaseHTTPRequestHandler/SimpleApp.py Tue Oct 23 23:28:13 2007 +0000 7.2 +++ b/examples/BaseHTTPRequestHandler/SimpleApp.py Sat Oct 27 21:26:46 2007 +0000 7.3 @@ -6,6 +6,6 @@ 7.4 # Special magic incantation. 7.5 7.6 print "Serving..." 7.7 -deploy(SimpleResource()) 7.8 +deploy(SimpleResource(), handle_errors=0) 7.9 7.10 # vim: tabstop=4 expandtab shiftwidth=4
8.1 --- a/examples/BaseHTTPRequestHandler/SimpleWithLoginApp.py Tue Oct 23 23:28:13 2007 +0000 8.2 +++ b/examples/BaseHTTPRequestHandler/SimpleWithLoginApp.py Sat Oct 27 21:26:46 2007 +0000 8.3 @@ -29,7 +29,7 @@ 8.4 ) 8.5 ) 8.6 }), 8.7 - handle_errors=1 8.8 + handle_errors=0 8.9 ) 8.10 8.11 # vim: tabstop=4 expandtab shiftwidth=4
9.1 --- a/examples/BaseHTTPRequestHandler/UnicodeApp.py Tue Oct 23 23:28:13 2007 +0000 9.2 +++ b/examples/BaseHTTPRequestHandler/UnicodeApp.py Sat Oct 27 21:26:46 2007 +0000 9.3 @@ -4,6 +4,6 @@ 9.4 from Unicode import UnicodeResource 9.5 9.6 print "Serving..." 9.7 -deploy(UnicodeResource()) 9.8 +deploy(UnicodeResource(), handle_errors=0) 9.9 9.10 # vim: tabstop=4 expandtab shiftwidth=4
10.1 --- a/examples/BaseHTTPRequestHandler/VerySimpleApp.py Tue Oct 23 23:28:13 2007 +0000 10.2 +++ b/examples/BaseHTTPRequestHandler/VerySimpleApp.py Sat Oct 27 21:26:46 2007 +0000 10.3 @@ -6,6 +6,6 @@ 10.4 # Special magic incantation. 10.5 10.6 print "Serving..." 10.7 -deploy(VerySimpleResource()) 10.8 +deploy(VerySimpleResource(), handle_errors=0) 10.9 10.10 # vim: tabstop=4 expandtab shiftwidth=4
11.1 --- a/examples/CGI/CalendarHandler.py Tue Oct 23 23:28:13 2007 +0000 11.2 +++ b/examples/CGI/CalendarHandler.py Sat Oct 27 21:26:46 2007 +0000 11.3 @@ -12,7 +12,7 @@ 11.4 11.5 # Choose or customise one of the following if the example fails. 11.6 11.7 -deploy(CalendarResource()) 11.8 -#deploy(CalendarResource("iso-8859-1")) 11.9 +deploy(CalendarResource(), handle_errors=0) 11.10 +#deploy(CalendarResource("iso-8859-1"), handle_errors=0) 11.11 11.12 # vim: tabstop=4 expandtab shiftwidth=4
12.1 --- a/examples/CGI/CookiesHandler.py Tue Oct 23 23:28:13 2007 +0000 12.2 +++ b/examples/CGI/CookiesHandler.py Sat Oct 27 21:26:46 2007 +0000 12.3 @@ -10,6 +10,6 @@ 12.4 from WebStack.Adapters.CGI import deploy 12.5 from Cookies import CookiesResource 12.6 12.7 -deploy(CookiesResource()) 12.8 +deploy(CookiesResource(), handle_errors=0) 12.9 12.10 # vim: tabstop=4 expandtab shiftwidth=4
13.1 --- a/examples/CGI/FormHandler.py Tue Oct 23 23:28:13 2007 +0000 13.2 +++ b/examples/CGI/FormHandler.py Sat Oct 27 21:26:46 2007 +0000 13.3 @@ -10,6 +10,6 @@ 13.4 from WebStack.Adapters.CGI import deploy 13.5 from Form import FormResource 13.6 13.7 -deploy(FormResource()) 13.8 +deploy(FormResource(), handle_errors=0) 13.9 13.10 # vim: tabstop=4 expandtab shiftwidth=4
14.1 --- a/examples/CGI/LoginHandler.py Tue Oct 23 23:28:13 2007 +0000 14.2 +++ b/examples/CGI/LoginHandler.py Sat Oct 27 21:26:46 2007 +0000 14.3 @@ -20,7 +20,7 @@ 14.4 ) 14.5 ) 14.6 ), 14.7 - handle_errors=1 14.8 + handle_errors=0 14.9 ) 14.10 14.11 # vim: tabstop=4 expandtab shiftwidth=4
15.1 --- a/examples/CGI/SessionsHandler.py Tue Oct 23 23:28:13 2007 +0000 15.2 +++ b/examples/CGI/SessionsHandler.py Sat Oct 27 21:26:46 2007 +0000 15.3 @@ -10,6 +10,6 @@ 15.4 from WebStack.Adapters.CGI import deploy 15.5 from Sessions import SessionsResource 15.6 15.7 -deploy(SessionsResource()) 15.8 +deploy(SessionsResource(), handle_errors=0) 15.9 15.10 # vim: tabstop=4 expandtab shiftwidth=4
16.1 --- a/examples/CGI/SimpleHandler.py Tue Oct 23 23:28:13 2007 +0000 16.2 +++ b/examples/CGI/SimpleHandler.py Sat Oct 27 21:26:46 2007 +0000 16.3 @@ -10,6 +10,6 @@ 16.4 from WebStack.Adapters.CGI import deploy 16.5 from Simple import SimpleResource 16.6 16.7 -deploy(SimpleResource()) 16.8 +deploy(SimpleResource(), handle_errors=0) 16.9 16.10 # vim: tabstop=4 expandtab shiftwidth=4
17.1 --- a/examples/CGI/SimpleWithLoginHandler.py Tue Oct 23 23:28:13 2007 +0000 17.2 +++ b/examples/CGI/SimpleWithLoginHandler.py Sat Oct 27 21:26:46 2007 +0000 17.3 @@ -39,7 +39,7 @@ 17.4 ) 17.5 ) 17.6 }), 17.7 - handle_errors=1 17.8 + handle_errors=0 17.9 ) 17.10 17.11 # vim: tabstop=4 expandtab shiftwidth=4
18.1 --- a/examples/CGI/UnicodeHandler.py Tue Oct 23 23:28:13 2007 +0000 18.2 +++ b/examples/CGI/UnicodeHandler.py Sat Oct 27 21:26:46 2007 +0000 18.3 @@ -10,6 +10,6 @@ 18.4 from WebStack.Adapters.CGI import deploy 18.5 from Unicode import UnicodeResource 18.6 18.7 -deploy(UnicodeResource()) 18.8 +deploy(UnicodeResource(), handle_errors=0) 18.9 18.10 # vim: tabstop=4 expandtab shiftwidth=4
19.1 --- a/examples/CGI/VerySimpleHandler.py Tue Oct 23 23:28:13 2007 +0000 19.2 +++ b/examples/CGI/VerySimpleHandler.py Sat Oct 27 21:26:46 2007 +0000 19.3 @@ -10,6 +10,6 @@ 19.4 from WebStack.Adapters.CGI import deploy 19.5 from VerySimple import VerySimpleResource 19.6 19.7 -deploy(VerySimpleResource()) 19.8 +deploy(VerySimpleResource(), handle_errors=0) 19.9 19.10 # vim: tabstop=4 expandtab shiftwidth=4