2005-08-19 | paulb | raw files shortlog changelog graph | [project @ 2005-08-19 13:27:22 by paulb] Added a test of MapResource nesting. | |
examples/BaseHTTPRequestHandler/DemoApp.py (file) |
1.1 --- a/examples/BaseHTTPRequestHandler/DemoApp.py Fri Aug 19 13:26:51 2005 +0000 1.2 +++ b/examples/BaseHTTPRequestHandler/DemoApp.py Fri Aug 19 13:27:22 2005 +0000 1.3 @@ -63,9 +63,11 @@ 1.4 "unicode" : UnicodeResource(), 1.5 "verysimple" : VerySimpleResource(), 1.6 "calendar" : CalendarResource(), 1.7 - "" : DemoResource(), 1.8 + "" : DemoResource() 1.9 }) 1.10 1.11 +resource.mapping[None] = resource 1.12 + 1.13 # Special magic incantation. 1.14 1.15 print "Serving..."