2007-11-17 | paulb | raw annotate files changeset graph | [project @ 2007-11-17 00:30:16 by paulb] Added a POST-based form to the success messages which permits the "HTML FORM Redirection" mode of indirect communication described in the "OpenID 2.0 Authentication" draft. |
1 #!/usr/bin/env python 2 3 from WebStack.Adapters.BaseHTTPRequestHandler import deploy 4 from Calendar import CalendarResource 5 6 print "Serving..." 7 8 # Choose or customise one of the following if the example fails. 9 10 deploy(CalendarResource(), handle_errors=0) 11 #deploy(CalendarResource("iso-8859-1"), handle_errors=0) 12 13 # vim: tabstop=4 expandtab shiftwidth=4