X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FAction%2FDeserializeMultiPart.pm;h=5d6536b2b51952d076243920882c127db8f67b41;hb=0143ed45773c12697b1e27f5971c1e4a219a737f;hp=8a882c3a6d9018a4b2dd75bce458478418f7ce47;hpb=8bf1f20e52df6d2650bb9c5f68cca300b04a5b64;p=catagits%2FCatalyst-Action-REST.git diff --git a/lib/Catalyst/Action/DeserializeMultiPart.pm b/lib/Catalyst/Action/DeserializeMultiPart.pm index 8a882c3..5d6536b 100644 --- a/lib/Catalyst/Action/DeserializeMultiPart.pm +++ b/lib/Catalyst/Action/DeserializeMultiPart.pm @@ -77,7 +77,13 @@ the individual parts, L must be told which content types to map to L. This module makes the assumption 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). Feel free to +inside L: C<$HTTP::Body::Types> (a HASH ref). + +B As this module modifys the behaviour of HTTP::Body globally, +adding it to an application can have unintended consequences as multipart +bodies will be treated differently to before. + +Feel free to add other content-types to this hash if needed or if you would prefer that C NOT be added to this hash, simply delete it after loading this module.