1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/examples/Webware/CookiesContext/__init__.py Sat Apr 24 23:09:41 2004 +0000
1.3 @@ -0,0 +1,15 @@
1.4 +#!/usr/bin/env python
1.5 +
1.6 +"""
1.7 +Webware context for the Cookies application (post Webware 0.8.1).
1.8 +"""
1.9 +
1.10 +from WebStack.Adapters.Webware import WebStackURLParser
1.11 +from Cookies import CookiesResource
1.12 +
1.13 +# NOTE: Initialising a shared resource.
1.14 +
1.15 +resource = CookiesResource()
1.16 +urlParser = WebStackURLParser(resource)
1.17 +
1.18 +# vim: tabstop=4 expandtab shiftwidth=4