1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/examples/ModPython/UnicodeApp/UnicodeHandler.py Sun Jan 15 23:23:29 2006 +0000
1.3 @@ -0,0 +1,17 @@
1.4 +#!/usr/bin/env python
1.5 +
1.6 +# NOTE: Path manipulation may require manual customisation.
1.7 +
1.8 +import sys, os
1.9 +sys.path.append(os.path.abspath(os.path.join(__file__, "../../../Common")))
1.10 +
1.11 +from WebStack.Adapters.ModPython import deploy
1.12 +from Simple import SimpleResource
1.13 +
1.14 +# NOTE: Not sure if the resource should be maintained in a resource pool.
1.15 +
1.16 +resource = UnicodeResource()
1.17 +
1.18 +handler, _no_authentication = deploy(resource, handle_errors=0)
1.19 +
1.20 +# vim: tabstop=4 expandtab shiftwidth=4