X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FWeb%2FSimple.pm;h=e548ef238b6d9841b29e2e42f1954c09afe7ede8;hb=b91b7bc9c4850f0d7d89cfd97e40d743e90cf40b;hp=29c99330c7c5701f834e8deb68a7853e0e2c4710;hpb=306667ea13cd759b13dfb192ad1655a5bbe7979c;p=catagits%2FWeb-Simple.git diff --git a/lib/Web/Simple.pm b/lib/Web/Simple.pm index 29c9933..e548ef2 100644 --- a/lib/Web/Simple.pm +++ b/lib/Web/Simple.pm @@ -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 -