1.1 --- a/WebStack/Zope.py Sat Jan 14 01:51:20 2006 +0000
1.2 +++ b/WebStack/Zope.py Sat Jan 14 01:52:43 2006 +0000
1.3 @@ -56,8 +56,6 @@
1.4 # Attributes which may be changed later.
1.5
1.6 self.content_type = None
1.7 - self.user = None
1.8 - self.path_info = None
1.9
1.10 # Server-related methods.
1.11
1.12 @@ -247,7 +245,8 @@
1.13 Returns a dictionary mapping field names to lists of values (even if a
1.14 single value is associated with any given field name). Each value is
1.15 either a Unicode object (representing a simple form field, for example)
1.16 - or a plain string (representing a file upload form field, for example).
1.17 + or a WebStack.Helpers.Request.FileContent object (representing a file
1.18 + upload form field).
1.19 """
1.20
1.21 all_fields = self._get_fields(encoding)
1.22 @@ -287,7 +286,8 @@
1.23 Returns a dictionary mapping field names to lists of values (even if a
1.24 single value is associated with any given field name). Each value is
1.25 either a Unicode object (representing a simple form field, for example)
1.26 - or a plain string (representing a file upload form field, for example).
1.27 + or a WebStack.Helpers.Request.FileContent object (representing a file
1.28 + upload form field).
1.29
1.30 Where a given field name is used in both the path and message body to
1.31 specify values, the values from both sources will be combined into a
1.32 @@ -300,7 +300,7 @@
1.33 return self._get_fields(encoding)
1.34 else:
1.35 fields = {}
1.36 - fields.update(self.get_fields_from_path())
1.37 + fields.update(self.get_fields_from_path(encoding))
1.38 for name, values in self._get_fields(encoding).items():
1.39 if not fields.has_key(name):
1.40 fields[name] = values