2005-08-25 | paulb | file changeset files shortlog | [project @ 2005-08-25 22:39:52 by paulb] Changed the default path encoding to UTF-8. Whilst this takes some liberties, it is likely that UTF-8 is a reasonable default, and the underlying default of ISO-8859-1 provides a fair level of safety. |
paulb@352 | 1 | #!/usr/bin/env python |
paulb@352 | 2 | |
paulb@352 | 3 | from WebStack.Adapters.BaseHTTPRequestHandler import deploy |
paulb@352 | 4 | from VerySimple import VerySimpleResource |
paulb@352 | 5 | |
paulb@352 | 6 | # Special magic incantation. |
paulb@352 | 7 | |
paulb@352 | 8 | print "Serving..." |
paulb@352 | 9 | deploy(VerySimpleResource()) |
paulb@352 | 10 | |
paulb@352 | 11 | # vim: tabstop=4 expandtab shiftwidth=4 |