1.1 --- a/WebStack/Webware.py Wed Feb 25 22:30:35 2004 +0000
1.2 +++ b/WebStack/Webware.py Sat Feb 28 16:29:51 2004 +0000
1.3 @@ -5,6 +5,7 @@
1.4 """
1.5
1.6 import Generic
1.7 +from cgi import parse_qs
1.8
1.9 class Transaction(Generic.Transaction):
1.10
1.11 @@ -130,13 +131,11 @@
1.12 path specified in the transaction. The underlying framework may refuse
1.13 to supply fields from the path if handling a POST transaction.
1.14
1.15 - The returned object should employ the cgi.FieldStorage interface.
1.16 -
1.17 - The result of this method is dependent on the WebUtils.FieldStorage
1.18 - module's FieldStorage class.
1.19 + Returns a dictionary mapping field names to lists of values (even if a
1.20 + single value is associated with any given field name).
1.21 """
1.22
1.23 - return self.trans.request().fields()
1.24 + return parse_qs(self.get_query_string(), keep_blank_values=1)
1.25
1.26 def get_fields_from_body(self):
1.27