1.1 --- a/examples/Django/authapp.py Sat Oct 27 21:27:04 2007 +0000 1.2 +++ b/examples/Django/authapp.py Sat Oct 27 21:27:22 2007 +0000 1.3 @@ -6,6 +6,6 @@ 1.4 resource = AuthResource() 1.5 authenticator = AuthAuthenticator() 1.6 1.7 -auth = deploy(resource, authenticator=authenticator, handle_errors=1) 1.8 +auth = deploy(resource, authenticator=authenticator, handle_errors=0) 1.9 1.10 # vim: tabstop=4 expandtab shiftwidth=4
2.1 --- a/examples/Django/calendarapp.py Sat Oct 27 21:27:04 2007 +0000 2.2 +++ b/examples/Django/calendarapp.py Sat Oct 27 21:27:22 2007 +0000 2.3 @@ -8,6 +8,6 @@ 2.4 resource = CalendarResource() 2.5 #resource = CalendarResource("iso-8859-1") 2.6 2.7 -calendar = deploy(resource, handle_errors=1) 2.8 +calendar = deploy(resource, handle_errors=0) 2.9 2.10 # vim: tabstop=4 expandtab shiftwidth=4
3.1 --- a/examples/Django/cookiesapp.py Sat Oct 27 21:27:04 2007 +0000 3.2 +++ b/examples/Django/cookiesapp.py Sat Oct 27 21:27:22 2007 +0000 3.3 @@ -5,6 +5,6 @@ 3.4 3.5 resource = CookiesResource() 3.6 3.7 -cookies = deploy(resource, handle_errors=1) 3.8 +cookies = deploy(resource, handle_errors=0) 3.9 3.10 # vim: tabstop=4 expandtab shiftwidth=4
4.1 --- a/examples/Django/formapp.py Sat Oct 27 21:27:04 2007 +0000 4.2 +++ b/examples/Django/formapp.py Sat Oct 27 21:27:22 2007 +0000 4.3 @@ -5,6 +5,6 @@ 4.4 4.5 resource = FormResource() 4.6 4.7 -form = deploy(resource, handle_errors=1) 4.8 +form = deploy(resource, handle_errors=0) 4.9 4.10 # vim: tabstop=4 expandtab shiftwidth=4
5.1 --- a/examples/Django/loginapp.py Sat Oct 27 21:27:04 2007 +0000 5.2 +++ b/examples/Django/loginapp.py Sat Oct 27 21:27:22 2007 +0000 5.3 @@ -14,6 +14,6 @@ 5.4 use_redirect=0 5.5 ) 5.6 5.7 -login = deploy(resource, handle_errors=1) 5.8 +login = deploy(resource, handle_errors=0) 5.9 5.10 # vim: tabstop=4 expandtab shiftwidth=4
6.1 --- a/examples/Django/sessionsapp.py Sat Oct 27 21:27:04 2007 +0000 6.2 +++ b/examples/Django/sessionsapp.py Sat Oct 27 21:27:22 2007 +0000 6.3 @@ -5,6 +5,6 @@ 6.4 6.5 resource = SessionsResource() 6.6 6.7 -sessions = deploy(resource, handle_errors=1) 6.8 +sessions = deploy(resource, handle_errors=0) 6.9 6.10 # vim: tabstop=4 expandtab shiftwidth=4
7.1 --- a/examples/Django/simpleapp.py Sat Oct 27 21:27:04 2007 +0000 7.2 +++ b/examples/Django/simpleapp.py Sat Oct 27 21:27:22 2007 +0000 7.3 @@ -5,6 +5,6 @@ 7.4 7.5 resource = SimpleResource() 7.6 7.7 -simple = deploy(resource) 7.8 +simple = deploy(resource, handle_errors=0) 7.9 7.10 # vim: tabstop=4 expandtab shiftwidth=4
8.1 --- a/examples/Django/simplewithloginapp.py Sat Oct 27 21:27:04 2007 +0000 8.2 +++ b/examples/Django/simplewithloginapp.py Sat Oct 27 21:27:22 2007 +0000 8.3 @@ -14,6 +14,6 @@ 8.4 use_logout_redirect=0 8.5 ) 8.6 8.7 -simplewithlogin = deploy(resource, handle_errors=1) 8.8 +simplewithlogin = deploy(resource, handle_errors=0) 8.9 8.10 # vim: tabstop=4 expandtab shiftwidth=4
9.1 --- a/examples/Django/unicodeapp.py Sat Oct 27 21:27:04 2007 +0000 9.2 +++ b/examples/Django/unicodeapp.py Sat Oct 27 21:27:22 2007 +0000 9.3 @@ -3,6 +3,6 @@ 9.4 from WebStack.Adapters.Django import deploy 9.5 from Unicode import UnicodeResource 9.6 9.7 -unicode = deploy(UnicodeResource(), handle_errors=1) 9.8 +unicode = deploy(UnicodeResource(), handle_errors=0) 9.9 9.10 # vim: tabstop=4 expandtab shiftwidth=4
10.1 --- a/examples/Django/verysimpleapp.py Sat Oct 27 21:27:04 2007 +0000 10.2 +++ b/examples/Django/verysimpleapp.py Sat Oct 27 21:27:22 2007 +0000 10.3 @@ -5,6 +5,6 @@ 10.4 10.5 resource = VerySimpleResource() 10.6 10.7 -verysimple = deploy(resource, handle_errors=1) 10.8 +verysimple = deploy(resource, handle_errors=0) 10.9 10.10 # vim: tabstop=4 expandtab shiftwidth=4
11.1 --- a/examples/JavaServlet/AuthApp.py Sat Oct 27 21:27:04 2007 +0000 11.2 +++ b/examples/JavaServlet/AuthApp.py Sat Oct 27 21:27:22 2007 +0000 11.3 @@ -3,6 +3,6 @@ 11.4 from WebStack.Adapters.JavaServlet import deploy 11.5 from Auth import AuthResource, AuthAuthenticator 11.6 11.7 -AuthApp = deploy(AuthResource(), AuthAuthenticator()) 11.8 +AuthApp = deploy(AuthResource(), AuthAuthenticator(), handle_errors=0) 11.9 11.10 # vim: tabstop=4 expandtab shiftwidth=4
12.1 --- a/examples/JavaServlet/CalendarApp.py Sat Oct 27 21:27:04 2007 +0000 12.2 +++ b/examples/JavaServlet/CalendarApp.py Sat Oct 27 21:27:22 2007 +0000 12.3 @@ -3,7 +3,7 @@ 12.4 from WebStack.Adapters.JavaServlet import deploy 12.5 from Calendar import CalendarResource 12.6 12.7 -CalendarApp = deploy(CalendarResource()) 12.8 -#CalendarApp = deploy(CalendarResource("iso-8859-1")) 12.9 +CalendarApp = deploy(CalendarResource(), handle_errors=0) 12.10 +#CalendarApp = deploy(CalendarResource("iso-8859-1"), handle_errors=0) 12.11 12.12 # vim: tabstop=4 expandtab shiftwidth=4
13.1 --- a/examples/JavaServlet/CookiesApp.py Sat Oct 27 21:27:04 2007 +0000 13.2 +++ b/examples/JavaServlet/CookiesApp.py Sat Oct 27 21:27:22 2007 +0000 13.3 @@ -3,6 +3,6 @@ 13.4 from WebStack.Adapters.JavaServlet import deploy 13.5 from Cookies import CookiesResource 13.6 13.7 -CookiesApp = deploy(CookiesResource()) 13.8 +CookiesApp = deploy(CookiesResource(), handle_errors=0) 13.9 13.10 # vim: tabstop=4 expandtab shiftwidth=4
14.1 --- a/examples/JavaServlet/FormApp.py Sat Oct 27 21:27:04 2007 +0000 14.2 +++ b/examples/JavaServlet/FormApp.py Sat Oct 27 21:27:22 2007 +0000 14.3 @@ -3,6 +3,6 @@ 14.4 from WebStack.Adapters.JavaServlet import deploy 14.5 from Form import FormResource 14.6 14.7 -FormApp = deploy(FormResource()) 14.8 +FormApp = deploy(FormResource(), handle_errors=0) 14.9 14.10 # vim: tabstop=4 expandtab shiftwidth=4
15.1 --- a/examples/JavaServlet/LoginApp.py Sat Oct 27 21:27:04 2007 +0000 15.2 +++ b/examples/JavaServlet/LoginApp.py Sat Oct 27 21:27:22 2007 +0000 15.3 @@ -16,6 +16,6 @@ 15.4 use_redirect=0 15.5 ) 15.6 15.7 -LoginApp = deploy(resource) 15.8 +LoginApp = deploy(resource, handle_errors=0) 15.9 15.10 # vim: tabstop=4 expandtab shiftwidth=4
16.1 --- a/examples/JavaServlet/SessionsApp.py Sat Oct 27 21:27:04 2007 +0000 16.2 +++ b/examples/JavaServlet/SessionsApp.py Sat Oct 27 21:27:22 2007 +0000 16.3 @@ -3,6 +3,6 @@ 16.4 from WebStack.Adapters.JavaServlet import deploy 16.5 from Sessions import SessionsResource 16.6 16.7 -SessionsApp = deploy(SessionsResource()) 16.8 +SessionsApp = deploy(SessionsResource(), handle_errors=0) 16.9 16.10 # vim: tabstop=4 expandtab shiftwidth=4
17.1 --- a/examples/JavaServlet/SimpleApp.py Sat Oct 27 21:27:04 2007 +0000 17.2 +++ b/examples/JavaServlet/SimpleApp.py Sat Oct 27 21:27:22 2007 +0000 17.3 @@ -3,6 +3,6 @@ 17.4 from WebStack.Adapters.JavaServlet import deploy 17.5 from Simple import SimpleResource 17.6 17.7 -SimpleApp = deploy(SimpleResource()) 17.8 +SimpleApp = deploy(SimpleResource(), handle_errors=0) 17.9 17.10 # vim: tabstop=4 expandtab shiftwidth=4
18.1 --- a/examples/JavaServlet/SimpleWithLoginApp.py Sat Oct 27 21:27:04 2007 +0000 18.2 +++ b/examples/JavaServlet/SimpleWithLoginApp.py Sat Oct 27 21:27:22 2007 +0000 18.3 @@ -30,7 +30,7 @@ 18.4 ) 18.5 ) 18.6 }), 18.7 - handle_errors=1 18.8 + handle_errors=0 18.9 ) 18.10 18.11 # vim: tabstop=4 expandtab shiftwidth=4
19.1 --- a/examples/JavaServlet/UnicodeApp.py Sat Oct 27 21:27:04 2007 +0000 19.2 +++ b/examples/JavaServlet/UnicodeApp.py Sat Oct 27 21:27:22 2007 +0000 19.3 @@ -3,6 +3,6 @@ 19.4 from WebStack.Adapters.JavaServlet import deploy 19.5 from Unicode import UnicodeResource 19.6 19.7 -UnicodeApp = deploy(UnicodeResource()) 19.8 +UnicodeApp = deploy(UnicodeResource(), handle_errors=0) 19.9 19.10 # vim: tabstop=4 expandtab shiftwidth=4
20.1 --- a/examples/JavaServlet/VerySimpleApp.py Sat Oct 27 21:27:04 2007 +0000 20.2 +++ b/examples/JavaServlet/VerySimpleApp.py Sat Oct 27 21:27:22 2007 +0000 20.3 @@ -3,6 +3,6 @@ 20.4 from WebStack.Adapters.JavaServlet import deploy 20.5 from VerySimple import VerySimpleResource 20.6 20.7 -VerySimpleApp = deploy(VerySimpleResource()) 20.8 +VerySimpleApp = deploy(VerySimpleResource(), handle_errors=0) 20.9 20.10 # vim: tabstop=4 expandtab shiftwidth=4
21.1 --- a/examples/ModPython/AuthApp/AuthHandler.py Sat Oct 27 21:27:04 2007 +0000 21.2 +++ b/examples/ModPython/AuthApp/AuthHandler.py Sat Oct 27 21:27:22 2007 +0000 21.3 @@ -13,6 +13,6 @@ 21.4 resource = AuthResource() 21.5 authenticator = AuthAuthenticator() 21.6 21.7 -handler, authenhandler = deploy(resource, authenticator, handle_errors=1) 21.8 +handler, authenhandler = deploy(resource, authenticator, handle_errors=0) 21.9 21.10 # vim: tabstop=4 expandtab shiftwidth=4
22.1 --- a/examples/ModPython/CalendarApp/CalendarHandler.py Sat Oct 27 21:27:04 2007 +0000 22.2 +++ b/examples/ModPython/CalendarApp/CalendarHandler.py Sat Oct 27 21:27:22 2007 +0000 22.3 @@ -14,6 +14,6 @@ 22.4 resource = CalendarResource() 22.5 #resource = CalendarResource("iso-8859-1") 22.6 22.7 -handler, _no_authentication = deploy(resource, handle_errors=1) 22.8 +handler, _no_authentication = deploy(resource, handle_errors=0) 22.9 22.10 # vim: tabstop=4 expandtab shiftwidth=4
23.1 --- a/examples/ModPython/CookiesApp/CookiesHandler.py Sat Oct 27 21:27:04 2007 +0000 23.2 +++ b/examples/ModPython/CookiesApp/CookiesHandler.py Sat Oct 27 21:27:22 2007 +0000 23.3 @@ -12,6 +12,6 @@ 23.4 23.5 resource = CookiesResource() 23.6 23.7 -handler, _no_authentication = deploy(resource, handle_errors=1) 23.8 +handler, _no_authentication = deploy(resource, handle_errors=0) 23.9 23.10 # vim: tabstop=4 expandtab shiftwidth=4
24.1 --- a/examples/ModPython/FormApp/FormHandler.py Sat Oct 27 21:27:04 2007 +0000 24.2 +++ b/examples/ModPython/FormApp/FormHandler.py Sat Oct 27 21:27:22 2007 +0000 24.3 @@ -12,6 +12,6 @@ 24.4 24.5 resource = FormResource() 24.6 24.7 -handler, _no_authentication = deploy(resource, handle_errors=1) 24.8 +handler, _no_authentication = deploy(resource, handle_errors=0) 24.9 24.10 # vim: tabstop=4 expandtab shiftwidth=4
25.1 --- a/examples/ModPython/LoginApp/LoginHandler.py Sat Oct 27 21:27:04 2007 +0000 25.2 +++ b/examples/ModPython/LoginApp/LoginHandler.py Sat Oct 27 21:27:22 2007 +0000 25.3 @@ -21,6 +21,6 @@ 25.4 use_redirect=0 25.5 ) 25.6 25.7 -handler, _no_authentication = deploy(resource, handle_errors=1) 25.8 +handler, _no_authentication = deploy(resource, handle_errors=0) 25.9 25.10 # vim: tabstop=4 expandtab shiftwidth=4
26.1 --- a/examples/ModPython/SessionsApp/SessionsHandler.py Sat Oct 27 21:27:04 2007 +0000 26.2 +++ b/examples/ModPython/SessionsApp/SessionsHandler.py Sat Oct 27 21:27:22 2007 +0000 26.3 @@ -12,6 +12,6 @@ 26.4 26.5 resource = SessionsResource() 26.6 26.7 -handler, _no_authentication = deploy(resource, handle_errors=1) 26.8 +handler, _no_authentication = deploy(resource, handle_errors=0) 26.9 26.10 # vim: tabstop=4 expandtab shiftwidth=4
27.1 --- a/examples/ModPython/SimpleApp/SimpleHandler.py Sat Oct 27 21:27:04 2007 +0000 27.2 +++ b/examples/ModPython/SimpleApp/SimpleHandler.py Sat Oct 27 21:27:22 2007 +0000 27.3 @@ -12,6 +12,6 @@ 27.4 27.5 resource = SimpleResource() 27.6 27.7 -handler, _no_authentication = deploy(resource, handle_errors=1) 27.8 +handler, _no_authentication = deploy(resource, handle_errors=0) 27.9 27.10 # vim: tabstop=4 expandtab shiftwidth=4
28.1 --- a/examples/ModPython/SimpleWithLoginApp/SimpleWithLoginHandler.py Sat Oct 27 21:27:04 2007 +0000 28.2 +++ b/examples/ModPython/SimpleWithLoginApp/SimpleWithLoginHandler.py Sat Oct 27 21:27:22 2007 +0000 28.3 @@ -21,6 +21,6 @@ 28.4 use_logout_redirect=0 28.5 ) 28.6 28.7 -handler, _no_authentication = deploy(resource, handle_errors=1) 28.8 +handler, _no_authentication = deploy(resource, handle_errors=0) 28.9 28.10 # vim: tabstop=4 expandtab shiftwidth=4
29.1 --- a/examples/ModPython/UnicodeApp/UnicodeHandler.py Sat Oct 27 21:27:04 2007 +0000 29.2 +++ b/examples/ModPython/UnicodeApp/UnicodeHandler.py Sat Oct 27 21:27:22 2007 +0000 29.3 @@ -12,6 +12,6 @@ 29.4 29.5 resource = UnicodeResource() 29.6 29.7 -handler, _no_authentication = deploy(resource, handle_errors=1) 29.8 +handler, _no_authentication = deploy(resource, handle_errors=0) 29.9 29.10 # vim: tabstop=4 expandtab shiftwidth=4
30.1 --- a/examples/ModPython/VerySimpleApp/VerySimpleHandler.py Sat Oct 27 21:27:04 2007 +0000 30.2 +++ b/examples/ModPython/VerySimpleApp/VerySimpleHandler.py Sat Oct 27 21:27:22 2007 +0000 30.3 @@ -12,6 +12,6 @@ 30.4 30.5 resource = VerySimpleResource() 30.6 30.7 -handler, _no_authentication = deploy(resource, handle_errors=1) 30.8 +handler, _no_authentication = deploy(resource, handle_errors=0) 30.9 30.10 # vim: tabstop=4 expandtab shiftwidth=4
31.1 --- a/examples/Twisted/AuthApp.py Sat Oct 27 21:27:04 2007 +0000 31.2 +++ b/examples/Twisted/AuthApp.py Sat Oct 27 21:27:22 2007 +0000 31.3 @@ -4,6 +4,6 @@ 31.4 from Auth import AuthResource, AuthAuthenticator 31.5 31.6 print "Serving..." 31.7 -deploy(AuthResource(), AuthAuthenticator()) 31.8 +deploy(AuthResource(), AuthAuthenticator(), handle_errors=0) 31.9 31.10 # vim: tabstop=4 expandtab shiftwidth=4
32.1 --- a/examples/Twisted/CalendarApp.py Sat Oct 27 21:27:04 2007 +0000 32.2 +++ b/examples/Twisted/CalendarApp.py Sat Oct 27 21:27:22 2007 +0000 32.3 @@ -7,7 +7,7 @@ 32.4 32.5 # Choose or customise one of the following if the example fails. 32.6 32.7 -deploy(CalendarResource()) 32.8 -#deploy(CalendarResource("iso-8859-1")) 32.9 +deploy(CalendarResource(), handle_errors=0) 32.10 +#deploy(CalendarResource("iso-8859-1"), handle_errors=0) 32.11 32.12 # vim: tabstop=4 expandtab shiftwidth=4
33.1 --- a/examples/Twisted/CookiesApp.py Sat Oct 27 21:27:04 2007 +0000 33.2 +++ b/examples/Twisted/CookiesApp.py Sat Oct 27 21:27:22 2007 +0000 33.3 @@ -4,6 +4,6 @@ 33.4 from Cookies import CookiesResource 33.5 33.6 print "Serving..." 33.7 -deploy(CookiesResource()) 33.8 +deploy(CookiesResource(), handle_errors=0) 33.9 33.10 # vim: tabstop=4 expandtab shiftwidth=4
34.1 --- a/examples/Twisted/FormApp.py Sat Oct 27 21:27:04 2007 +0000 34.2 +++ b/examples/Twisted/FormApp.py Sat Oct 27 21:27:22 2007 +0000 34.3 @@ -4,6 +4,6 @@ 34.4 from Form import FormResource 34.5 34.6 print "Serving..." 34.7 -deploy(FormResource()) 34.8 +deploy(FormResource(), handle_errors=0) 34.9 34.10 # vim: tabstop=4 expandtab shiftwidth=4
35.1 --- a/examples/Twisted/LoginApp.py Sat Oct 27 21:27:04 2007 +0000 35.2 +++ b/examples/Twisted/LoginApp.py Sat Oct 27 21:27:22 2007 +0000 35.3 @@ -14,7 +14,8 @@ 35.4 ) 35.5 ) 35.6 ), 35.7 - address=("", 8081) 35.8 + address=("", 8081), 35.9 + handle_errors=0 35.10 ) 35.11 35.12 # vim: tabstop=4 expandtab shiftwidth=4
36.1 --- a/examples/Twisted/SessionsApp.py Sat Oct 27 21:27:04 2007 +0000 36.2 +++ b/examples/Twisted/SessionsApp.py Sat Oct 27 21:27:22 2007 +0000 36.3 @@ -4,6 +4,6 @@ 36.4 from Sessions import SessionsResource 36.5 36.6 print "Serving..." 36.7 -deploy(SessionsResource()) 36.8 +deploy(SessionsResource(), handle_errors=0) 36.9 36.10 # vim: tabstop=4 expandtab shiftwidth=4
37.1 --- a/examples/Twisted/SimpleApp.py Sat Oct 27 21:27:04 2007 +0000 37.2 +++ b/examples/Twisted/SimpleApp.py Sat Oct 27 21:27:22 2007 +0000 37.3 @@ -4,6 +4,6 @@ 37.4 from Simple import SimpleResource 37.5 37.6 print "Serving..." 37.7 -deploy(SimpleResource(), handle_errors=1) 37.8 +deploy(SimpleResource(), handle_errors=0) 37.9 37.10 # vim: tabstop=4 expandtab shiftwidth=4
38.1 --- a/examples/Twisted/SimpleWithLoginApp.py Sat Oct 27 21:27:04 2007 +0000 38.2 +++ b/examples/Twisted/SimpleWithLoginApp.py Sat Oct 27 21:27:22 2007 +0000 38.3 @@ -29,7 +29,7 @@ 38.4 ) 38.5 ) 38.6 }), 38.7 - handle_errors=1 38.8 + handle_errors=0 38.9 ) 38.10 38.11 # vim: tabstop=4 expandtab shiftwidth=4
39.1 --- a/examples/Twisted/UnicodeApp.py Sat Oct 27 21:27:04 2007 +0000 39.2 +++ b/examples/Twisted/UnicodeApp.py Sat Oct 27 21:27:22 2007 +0000 39.3 @@ -4,6 +4,6 @@ 39.4 from Unicode import UnicodeResource 39.5 39.6 print "Serving..." 39.7 -deploy(UnicodeResource()) 39.8 +deploy(UnicodeResource(), handle_errors=0) 39.9 39.10 # vim: tabstop=4 expandtab shiftwidth=4
40.1 --- a/examples/Twisted/VerySimpleApp.py Sat Oct 27 21:27:04 2007 +0000 40.2 +++ b/examples/Twisted/VerySimpleApp.py Sat Oct 27 21:27:22 2007 +0000 40.3 @@ -4,6 +4,6 @@ 40.4 from VerySimple import VerySimpleResource 40.5 40.6 print "Serving..." 40.7 -deploy(VerySimpleResource(), handle_errors=1) 40.8 +deploy(VerySimpleResource(), handle_errors=0) 40.9 40.10 # vim: tabstop=4 expandtab shiftwidth=4
41.1 --- a/examples/WSGI/CalendarApp.py Sat Oct 27 21:27:04 2007 +0000 41.2 +++ b/examples/WSGI/CalendarApp.py Sat Oct 27 21:27:22 2007 +0000 41.3 @@ -12,7 +12,7 @@ 41.4 41.5 # Choose or customise one of the following if the example fails. 41.6 41.7 -deploy(CalendarResource()) 41.8 -#deploy(CalendarResource("iso-8859-1")) 41.9 +deploy(CalendarResource(), handle_errors=0) 41.10 +#deploy(CalendarResource("iso-8859-1"), handle_errors=0) 41.11 41.12 # vim: tabstop=4 expandtab shiftwidth=4
42.1 --- a/examples/WSGI/CalendarHandler.py Sat Oct 27 21:27:04 2007 +0000 42.2 +++ b/examples/WSGI/CalendarHandler.py Sat Oct 27 21:27:22 2007 +0000 42.3 @@ -12,7 +12,7 @@ 42.4 42.5 # Choose or customise one of the following if the example fails. 42.6 42.7 -deploy_as_cgi(CalendarResource()) 42.8 -#deploy_as_cgi(CalendarResource("iso-8859-1")) 42.9 +deploy_as_cgi(CalendarResource(), handle_errors=0) 42.10 +#deploy_as_cgi(CalendarResource("iso-8859-1"), handle_errors=0) 42.11 42.12 # vim: tabstop=4 expandtab shiftwidth=4
43.1 --- a/examples/WSGI/CookiesApp.py Sat Oct 27 21:27:04 2007 +0000 43.2 +++ b/examples/WSGI/CookiesApp.py Sat Oct 27 21:27:22 2007 +0000 43.3 @@ -10,6 +10,6 @@ 43.4 from WebStack.Adapters.WSGI import deploy_with_wsgiref as deploy 43.5 from Cookies import CookiesResource 43.6 43.7 -deploy(CookiesResource()) 43.8 +deploy(CookiesResource(), handle_errors=0) 43.9 43.10 # vim: tabstop=4 expandtab shiftwidth=4
44.1 --- a/examples/WSGI/CookiesHandler.py Sat Oct 27 21:27:04 2007 +0000 44.2 +++ b/examples/WSGI/CookiesHandler.py Sat Oct 27 21:27:22 2007 +0000 44.3 @@ -10,6 +10,6 @@ 44.4 from WebStack.Adapters.WSGI import deploy_as_cgi 44.5 from Cookies import CookiesResource 44.6 44.7 -deploy_as_cgi(CookiesResource()) 44.8 +deploy_as_cgi(CookiesResource(), handle_errors=0) 44.9 44.10 # vim: tabstop=4 expandtab shiftwidth=4
45.1 --- a/examples/WSGI/FormApp.py Sat Oct 27 21:27:04 2007 +0000 45.2 +++ b/examples/WSGI/FormApp.py Sat Oct 27 21:27:22 2007 +0000 45.3 @@ -10,6 +10,6 @@ 45.4 from WebStack.Adapters.WSGI import deploy_with_wsgiref as deploy 45.5 from Form import FormResource 45.6 45.7 -deploy(FormResource()) 45.8 +deploy(FormResource(), handle_errors=0) 45.9 45.10 # vim: tabstop=4 expandtab shiftwidth=4
46.1 --- a/examples/WSGI/FormHandler.py Sat Oct 27 21:27:04 2007 +0000 46.2 +++ b/examples/WSGI/FormHandler.py Sat Oct 27 21:27:22 2007 +0000 46.3 @@ -10,6 +10,6 @@ 46.4 from WebStack.Adapters.WSGI import deploy_as_cgi 46.5 from Form import FormResource 46.6 46.7 -deploy_as_cgi(FormResource()) 46.8 +deploy_as_cgi(FormResource(), handle_errors=0) 46.9 46.10 # vim: tabstop=4 expandtab shiftwidth=4
47.1 --- a/examples/WSGI/LoginApp.py Sat Oct 27 21:27:04 2007 +0000 47.2 +++ b/examples/WSGI/LoginApp.py Sat Oct 27 21:27:22 2007 +0000 47.3 @@ -19,7 +19,8 @@ 47.4 ("vole", "xyz"), 47.5 ) 47.6 ) 47.7 - ) 47.8 + ), 47.9 + handle_errors=0 47.10 ) 47.11 47.12 # vim: tabstop=4 expandtab shiftwidth=4
48.1 --- a/examples/WSGI/LoginHandler.py Sat Oct 27 21:27:04 2007 +0000 48.2 +++ b/examples/WSGI/LoginHandler.py Sat Oct 27 21:27:22 2007 +0000 48.3 @@ -19,7 +19,8 @@ 48.4 ("vole", "xyz"), 48.5 ) 48.6 ) 48.7 - ) 48.8 + ), 48.9 + handle_errors=0 48.10 ) 48.11 48.12 # vim: tabstop=4 expandtab shiftwidth=4
49.1 --- a/examples/WSGI/SessionsHandler.py Sat Oct 27 21:27:04 2007 +0000 49.2 +++ b/examples/WSGI/SessionsHandler.py Sat Oct 27 21:27:22 2007 +0000 49.3 @@ -10,6 +10,6 @@ 49.4 from WebStack.Adapters.WSGI import deploy_as_cgi 49.5 from Sessions import SessionsResource 49.6 49.7 -deploy_as_cgi(SessionsResource()) 49.8 +deploy_as_cgi(SessionsResource(), handle_errors=0) 49.9 49.10 # vim: tabstop=4 expandtab shiftwidth=4
50.1 --- a/examples/WSGI/SimpleApp.py Sat Oct 27 21:27:04 2007 +0000 50.2 +++ b/examples/WSGI/SimpleApp.py Sat Oct 27 21:27:22 2007 +0000 50.3 @@ -10,6 +10,6 @@ 50.4 from WebStack.Adapters.WSGI import deploy_with_wsgiref as deploy 50.5 from Simple import SimpleResource 50.6 50.7 -deploy(SimpleResource()) 50.8 +deploy(SimpleResource(), handle_errors=0) 50.9 50.10 # vim: tabstop=4 expandtab shiftwidth=4
51.1 --- a/examples/WSGI/SimpleHandler.py Sat Oct 27 21:27:04 2007 +0000 51.2 +++ b/examples/WSGI/SimpleHandler.py Sat Oct 27 21:27:22 2007 +0000 51.3 @@ -10,6 +10,6 @@ 51.4 from WebStack.Adapters.WSGI import deploy_as_cgi 51.5 from Simple import SimpleResource 51.6 51.7 -deploy_as_cgi(SimpleResource()) 51.8 +deploy_as_cgi(SimpleResource(), handle_errors=0) 51.9 51.10 # vim: tabstop=4 expandtab shiftwidth=4
52.1 --- a/examples/WSGI/SimpleWithLoginApp.py Sat Oct 27 21:27:04 2007 +0000 52.2 +++ b/examples/WSGI/SimpleWithLoginApp.py Sat Oct 27 21:27:22 2007 +0000 52.3 @@ -35,7 +35,7 @@ 52.4 ) 52.5 ) 52.6 }), 52.7 - handle_errors=1 52.8 + handle_errors=0 52.9 ) 52.10 52.11 # vim: tabstop=4 expandtab shiftwidth=4
53.1 --- a/examples/WSGI/SimpleWithLoginHandler.py Sat Oct 27 21:27:04 2007 +0000 53.2 +++ b/examples/WSGI/SimpleWithLoginHandler.py Sat Oct 27 21:27:22 2007 +0000 53.3 @@ -35,7 +35,7 @@ 53.4 ) 53.5 ) 53.6 }), 53.7 - handle_errors=1 53.8 + handle_errors=0 53.9 ) 53.10 53.11 # vim: tabstop=4 expandtab shiftwidth=4
54.1 --- a/examples/WSGI/UnicodeApp.py Sat Oct 27 21:27:04 2007 +0000 54.2 +++ b/examples/WSGI/UnicodeApp.py Sat Oct 27 21:27:22 2007 +0000 54.3 @@ -10,6 +10,6 @@ 54.4 from WebStack.Adapters.WSGI import deploy_with_wsgiref as deploy 54.5 from Unicode import UnicodeResource 54.6 54.7 -deploy(UnicodeResource()) 54.8 +deploy(UnicodeResource(), handle_errors=0) 54.9 54.10 # vim: tabstop=4 expandtab shiftwidth=4
55.1 --- a/examples/WSGI/UnicodeHandler.py Sat Oct 27 21:27:04 2007 +0000 55.2 +++ b/examples/WSGI/UnicodeHandler.py Sat Oct 27 21:27:22 2007 +0000 55.3 @@ -10,6 +10,6 @@ 55.4 from WebStack.Adapters.WSGI import deploy_as_cgi 55.5 from Unicode import UnicodeResource 55.6 55.7 -deploy_as_cgi(UnicodeResource()) 55.8 +deploy_as_cgi(UnicodeResource(), handle_errors=0) 55.9 55.10 # vim: tabstop=4 expandtab shiftwidth=4
56.1 --- a/examples/WSGI/VerySimpleApp.py Sat Oct 27 21:27:04 2007 +0000 56.2 +++ b/examples/WSGI/VerySimpleApp.py Sat Oct 27 21:27:22 2007 +0000 56.3 @@ -10,6 +10,6 @@ 56.4 from WebStack.Adapters.WSGI import deploy_with_wsgiref as deploy 56.5 from VerySimple import VerySimpleResource 56.6 56.7 -deploy(VerySimpleResource()) 56.8 +deploy(VerySimpleResource(), handle_errors=0) 56.9 56.10 # vim: tabstop=4 expandtab shiftwidth=4
57.1 --- a/examples/WSGI/VerySimpleHandler.py Sat Oct 27 21:27:04 2007 +0000 57.2 +++ b/examples/WSGI/VerySimpleHandler.py Sat Oct 27 21:27:22 2007 +0000 57.3 @@ -10,6 +10,6 @@ 57.4 from WebStack.Adapters.WSGI import deploy_as_cgi 57.5 from VerySimple import VerySimpleResource 57.6 57.7 -deploy_as_cgi(VerySimpleResource()) 57.8 +deploy_as_cgi(VerySimpleResource(), handle_errors=0) 57.9 57.10 # vim: tabstop=4 expandtab shiftwidth=4
58.1 --- a/examples/Webware/AuthContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 58.2 +++ b/examples/Webware/AuthContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 58.3 @@ -11,6 +11,6 @@ 58.4 58.5 resource = AuthResource() 58.6 authenticator = AuthAuthenticator() 58.7 -urlParser = deploy(resource, authenticator, handle_errors=1) 58.8 +urlParser = deploy(resource, authenticator, handle_errors=0) 58.9 58.10 # vim: tabstop=4 expandtab shiftwidth=4
59.1 --- a/examples/Webware/CalendarContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 59.2 +++ b/examples/Webware/CalendarContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 59.3 @@ -13,6 +13,6 @@ 59.4 resource = CalendarResource() 59.5 #resource = CalendarResource("iso-8859-1") 59.6 59.7 -urlParser = deploy(resource, handle_errors=1) 59.8 +urlParser = deploy(resource, handle_errors=0) 59.9 59.10 # vim: tabstop=4 expandtab shiftwidth=4
60.1 --- a/examples/Webware/CookiesContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 60.2 +++ b/examples/Webware/CookiesContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 60.3 @@ -10,6 +10,6 @@ 60.4 # NOTE: Initialising a shared resource. 60.5 60.6 resource = CookiesResource() 60.7 -urlParser = deploy(resource, handle_errors=1) 60.8 +urlParser = deploy(resource, handle_errors=0) 60.9 60.10 # vim: tabstop=4 expandtab shiftwidth=4
61.1 --- a/examples/Webware/FormContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 61.2 +++ b/examples/Webware/FormContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 61.3 @@ -10,6 +10,6 @@ 61.4 # NOTE: Initialising a shared resource. 61.5 61.6 resource = FormResource() 61.7 -urlParser = deploy(resource, handle_errors=1) 61.8 +urlParser = deploy(resource, handle_errors=0) 61.9 61.10 # vim: tabstop=4 expandtab shiftwidth=4
62.1 --- a/examples/Webware/LoginContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 62.2 +++ b/examples/Webware/LoginContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 62.3 @@ -19,6 +19,6 @@ 62.4 ) 62.5 ) 62.6 62.7 -urlParser = deploy(resource, handle_errors=1) 62.8 +urlParser = deploy(resource, handle_errors=0) 62.9 62.10 # vim: tabstop=4 expandtab shiftwidth=4
63.1 --- a/examples/Webware/SessionsContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 63.2 +++ b/examples/Webware/SessionsContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 63.3 @@ -10,6 +10,6 @@ 63.4 # NOTE: Initialising a shared resource. 63.5 63.6 resource = SessionsResource() 63.7 -urlParser = deploy(resource, handle_errors=1) 63.8 +urlParser = deploy(resource, handle_errors=0) 63.9 63.10 # vim: tabstop=4 expandtab shiftwidth=4
64.1 --- a/examples/Webware/SimpleContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 64.2 +++ b/examples/Webware/SimpleContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 64.3 @@ -10,6 +10,6 @@ 64.4 # NOTE: Initialising a shared resource. 64.5 64.6 resource = SimpleResource() 64.7 -urlParser = deploy(resource, handle_errors=1) 64.8 +urlParser = deploy(resource, handle_errors=0) 64.9 64.10 # vim: tabstop=4 expandtab shiftwidth=4
65.1 --- a/examples/Webware/SimpleWithLoginContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 65.2 +++ b/examples/Webware/SimpleWithLoginContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 65.3 @@ -34,6 +34,6 @@ 65.4 ) 65.5 }) 65.6 65.7 -urlParser = deploy(resource, handle_errors=1) 65.8 +urlParser = deploy(resource, handle_errors=0) 65.9 65.10 # vim: tabstop=4 expandtab shiftwidth=4
66.1 --- a/examples/Webware/UnicodeContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 66.2 +++ b/examples/Webware/UnicodeContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 66.3 @@ -10,6 +10,6 @@ 66.4 # NOTE: Initialising a shared resource. 66.5 66.6 resource = UnicodeResource() 66.7 -urlParser = deploy(resource, handle_errors=1) 66.8 +urlParser = deploy(resource, handle_errors=0) 66.9 66.10 # vim: tabstop=4 expandtab shiftwidth=4
67.1 --- a/examples/Webware/VerySimpleContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 67.2 +++ b/examples/Webware/VerySimpleContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 67.3 @@ -10,6 +10,6 @@ 67.4 # NOTE: Initialising a shared resource. 67.5 67.6 resource = VerySimpleResource() 67.7 -urlParser = deploy(resource, handle_errors=1) 67.8 +urlParser = deploy(resource, handle_errors=0) 67.9 67.10 # vim: tabstop=4 expandtab shiftwidth=4