WebStack

examples/Webware/CookiesContext/__init__.py

752:7a9ee094a4b7
2008-02-02 paulb [project @ 2008-02-02 23:35:36 by paulb] Removed local default encoding attributes. Improved the SimpleMap resource documentation and initialisation features.
     1 #!/usr/bin/env python     2      3 """     4 Webware context for the Cookies application (post Webware 0.8.1).     5 """     6      7 from WebStack.Adapters.Webware import deploy     8 from Cookies import CookiesResource     9     10 # NOTE: Initialising a shared resource.    11     12 resource = CookiesResource()    13 urlParser = deploy(resource, handle_errors=0)    14     15 # vim: tabstop=4 expandtab shiftwidth=4