2005-05-15 | paulb | file changeset files shortlog | [project @ 2005-05-15 23:33:48 by paulb] Updated the examples to use WebStack 0.9 conventions. |
paulb@4 | 1 | #!/usr/bin/env python |
paulb@4 | 2 | |
paulb@68 | 3 | from WebStack.Adapters.BaseHTTPRequestHandler import deploy |
paulb@4 | 4 | from PEP241 import PEP241Resource |
paulb@4 | 5 | |
paulb@4 | 6 | # Special magic incantation. |
paulb@4 | 7 | |
paulb@4 | 8 | print "Serving..." |
paulb@68 | 9 | deploy(PEP241Resource(), handle_errors=0) |
paulb@4 | 10 | |
paulb@4 | 11 | # vim: tabstop=4 expandtab shiftwidth=4 |