1.1 --- a/examples/Common/Cookies/__init__.py Thu Aug 25 13:44:38 2005 +0000
1.2 +++ b/examples/Common/Cookies/__init__.py Thu Aug 25 16:35:23 2005 +0000
1.3 @@ -9,13 +9,15 @@
1.4
1.5 "A resource adding and removing cookies."
1.6
1.7 + urlencoding = "utf-8"
1.8 +
1.9 def respond(self, trans):
1.10 trans.set_content_type(WebStack.Generic.ContentType("text/html"))
1.11
1.12 # Get the fields and choose an action.
1.13
1.14 fields_from_path = trans.get_fields_from_path()
1.15 - path = trans.get_path_without_query()
1.16 + path = trans.get_path_without_query(self.urlencoding)
1.17
1.18 # If the "set method" form was used, set the new method.
1.19