2004-04-24 | paulb | raw files shortlog changelog graph | [project @ 2004-04-24 17:01:01 by paulb] Updated the cookie demonstration. | |
examples/Common/Cookies/__init__.py (file) |
1.1 --- a/examples/Common/Cookies/__init__.py Sat Apr 24 17:00:49 2004 +0000 1.2 +++ b/examples/Common/Cookies/__init__.py Sat Apr 24 17:01:01 2004 +0000 1.3 @@ -55,11 +55,16 @@ 1.4 <ul> 1.5 %s 1.6 </ul> 1.7 + <h2>Cookie</h2> 1.8 + <p>Name specified: %s</p> 1.9 + <p>Value found: %s</p> 1.10 </body> 1.11 </html> 1.12 """ % ( 1.13 message, 1.14 self._format_dict(trans.get_cookies()), 1.15 + cookie_name, 1.16 + trans.get_cookie(cookie_name), 1.17 )) 1.18 1.19 def _format_dict(self, d):