1.1 --- a/WebStack/Twisted.py Sat Jan 14 01:51:20 2006 +0000
1.2 +++ b/WebStack/Twisted.py Sat Jan 14 01:52:43 2006 +0000
1.3 @@ -39,8 +39,6 @@
1.4
1.5 self.trans = trans
1.6 self.content_type = None
1.7 - self.user = None
1.8 - self.path_info = None
1.9
1.10 # Special objects retained throughout the transaction.
1.11
1.12 @@ -239,7 +237,11 @@
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 + NOTE: Twisted does not currently support file uploads correctly and a
1.21 + NOTE: Unicode object will be returned for such fields instead.
1.22 """
1.23
1.24 # There may not be a reliable means of extracting only the fields
1.25 @@ -282,7 +284,11 @@
1.26 Returns a dictionary mapping field names to lists of values (even if a
1.27 single value is associated with any given field name). Each value is
1.28 either a Unicode object (representing a simple form field, for example)
1.29 - or a plain string (representing a file upload form field, for example).
1.30 + or a WebStack.Helpers.Request.FileContent object (representing a file
1.31 + upload form field).
1.32 +
1.33 + NOTE: Twisted does not currently support file uploads correctly and a
1.34 + NOTE: Unicode object will be returned for such fields instead.
1.35
1.36 Where a given field name is used in both the path and message body to
1.37 specify values, the values from both sources will be combined into a