From: Matt S Trout Date: Mon, 3 Oct 2011 19:35:10 +0000 (+0000) Subject: remove the bit of doc saying we don't do uploads X-Git-Tag: v0.009~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FWeb-Simple.git;a=commitdiff_plain;h=cb12d2a32b35b292b35a9146d55a11f86db87954 remove the bit of doc saying we don't do uploads --- diff --git a/lib/Web/Simple.pm b/lib/Web/Simple.pm index 891e115..1e350e0 100644 --- a/lib/Web/Simple.pm +++ b/lib/Web/Simple.pm @@ -363,9 +363,10 @@ Query and body parameters can be match via sub (?) { # match URI query sub (%) { # match body params -The body is only matched if the content type is -application/x-www-form-urlencoded (note this means that Web::Simple does -not yet handle uploads; this will be addressed in a later release). +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, which are now handled experimentally +- see below. The param spec is elements of one of the following forms -