1.1 --- a/WebStack/Generic.py Fri Jun 20 22:23:58 2008 +0200
1.2 +++ b/WebStack/Generic.py Sun Jun 06 15:13:39 2004 +0000
1.3 @@ -238,11 +238,14 @@
1.4
1.5 raise NotImplementedError, "get_fields_from_path"
1.6
1.7 - def get_fields_from_body(self):
1.8 + def get_fields_from_body(self, encoding=None):
1.9
1.10 """
1.11 A framework-specific method which extracts the form fields from the
1.12 - message body in the transaction.
1.13 + message body in the transaction. The optional 'encoding' parameter
1.14 + specifies the character encoding of the message body for cases where no
1.15 + such information is available, but where the default encoding is to be
1.16 + overridden.
1.17
1.18 Returns a dictionary mapping field names to lists of values (even if a
1.19 single value is associated with any given field name).