2007-11-12 | paulb | file changeset files shortlog | [project @ 2007-11-12 00:50:03 by paulb] Introduced base classes for common authentication activities. Made cookie usage "safe" for usernames containing ":" characters. Added support for OpenID signatures. |
paulb@47 | 1 | #!/usr/bin/env python |
paulb@47 | 2 | |
paulb@324 | 3 | from WebStack.Adapters.BaseHTTPRequestHandler import deploy |
paulb@416 | 4 | from Calendar import CalendarResource |
paulb@47 | 5 | |
paulb@265 | 6 | print "Serving..." |
paulb@493 | 7 | |
paulb@493 | 8 | # Choose or customise one of the following if the example fails. |
paulb@493 | 9 | |
paulb@716 | 10 | deploy(CalendarResource(), handle_errors=0) |
paulb@716 | 11 | #deploy(CalendarResource("iso-8859-1"), handle_errors=0) |
paulb@47 | 12 | |
paulb@47 | 13 | # vim: tabstop=4 expandtab shiftwidth=4 |