paulb@101 | 1 | #!/usr/bin/env python |
paulb@101 | 2 | |
paulb@539 | 3 | # NOTE: Path manipulation may require manual customisation. |
paulb@101 | 4 | |
paulb@539 | 5 | import sys, os |
paulb@539 | 6 | sys.path.append(os.path.abspath(os.path.join(__file__, "../../../Common"))) |
paulb@101 | 7 | |
paulb@560 | 8 | from WebStack.Adapters.ModPython import deploy |
paulb@101 | 9 | from Cookies import CookiesResource |
paulb@101 | 10 | |
paulb@101 | 11 | # NOTE: Not sure if the resource should be maintained in a resource pool. |
paulb@101 | 12 | |
paulb@101 | 13 | resource = CookiesResource() |
paulb@101 | 14 | |
paulb@718 | 15 | handler, _no_authentication = deploy(resource, handle_errors=0) |
paulb@101 | 16 | |
paulb@101 | 17 | # vim: tabstop=4 expandtab shiftwidth=4 |