From: Tomas Doran Date: Sat, 1 Oct 2011 10:04:23 +0000 (+0100) Subject: Add a suitable warning as loading this has global effects X-Git-Tag: 0.92~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-REST.git;a=commitdiff_plain;h=0143ed45773c12697b1e27f5971c1e4a219a737f Add a suitable warning as loading this has global effects --- 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.