configurable decoding of query/body params in Web::Dispatch
[catagits/Web-Simple.git] / lib / Web / Simple.pm
index 29c9933..e548ef2 100644 (file)
@@ -461,7 +461,12 @@ Query and body parameters can be match via
 
 The body spec will match if the request content is either
 application/x-www-form-urlencoded or multipart/form-data - the latter
-of which is required for uploads - see below.
+of which is required for uploads - see below. Both parameter names and values
+will be decoded according to the parameter encoding attribute of the
+Web::Simple::Application object, which is set to UTF-8 by default. It can be
+configured by adding a sub called default_param_encoding to your class, which
+returns the name of the encoding your parameters are in, or undef to disable
+parameter decoding.
 
 The param spec is elements of one of the following forms -