X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FAction%2FDeserializeMultiPart.pm;h=26c88b994cc54b99821a8dc7eaefaca047aff65c;hb=44fa7f9429568532ea892e2020c20177b71cb736;hp=5d6536b2b51952d076243920882c127db8f67b41;hpb=0143ed45773c12697b1e27f5971c1e4a219a737f;p=catagits%2FCatalyst-Action-Serialize-Data-Serializer.git diff --git a/lib/Catalyst/Action/DeserializeMultiPart.pm b/lib/Catalyst/Action/DeserializeMultiPart.pm index 5d6536b..26c88b9 100644 --- a/lib/Catalyst/Action/DeserializeMultiPart.pm +++ b/lib/Catalyst/Action/DeserializeMultiPart.pm @@ -6,7 +6,7 @@ use namespace::autoclean; extends 'Catalyst::Action::Deserialize'; use HTTP::Body; -our $VERSION = '0.91'; +our $VERSION = '1.04'; $VERSION = eval $VERSION; our $NO_HTTP_BODY_TYPES_INITIALIZATION; @@ -32,7 +32,7 @@ __PACKAGE__->meta->make_immutable; =head1 NAME -Catalyst::Action::DeserializeMultiPart - Deserialize Data in a Multi-Part Request +Catalyst::Action::DeserializeMultiPart - Deserialize Data in a Multipart Request =head1 SYNOPSIS @@ -46,7 +46,7 @@ Catalyst::Action::DeserializeMultiPart - Deserialize Data in a Multi-Part Reques =head1 DESCRIPTION -This action will deserialize multi-part HTTP POST, PUT, OPTIONS and DELETE +This action will deserialize multipart HTTP POST, PUT, OPTIONS and DELETE requests. It is a simple extension of L with the exception that rather than using the entire request body (which may contain multiple sections), it will look for a single part in the request @@ -79,9 +79,9 @@ that you would like to have all C requests parsed by L module. This is done by a package variable inside L: C<$HTTP::Body::Types> (a HASH ref). -B As this module modifys the behaviour of HTTP::Body globally, +B As this module modifies the behaviour of HTTP::Body globally, adding it to an application can have unintended consequences as multipart -bodies will be treated differently to before. +bodies will be parsed differently from before. Feel free to add other content-types to this hash if needed or if you would prefer