2004-05-30 | paulb | raw annotate files changeset graph | [project @ 2004-05-30 15:33:10 by paulb] Added authentication cookies for anonymous users (using a redirect to the login application). Changed token construction to use WebStack.Helpers.Auth.get_token. |
1 #!/usr/bin/env python 2 3 # NOTE: Path manipulation requires manual customisation. 4 5 import sys 6 sys.path.append("/home/paulb/Software/Python/WebStack") 7 sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 8 9 from WebStack.Adapters import CGI 10 from Simple import SimpleResource 11 12 resource = SimpleResource() 13 CGI.respond(resource) 14 15 # vim: tabstop=4 expandtab shiftwidth=4