allow $c->req->body to be a simple filehandle or a string
authorBrian Phillips <bphillips@digitalriver.com>
Tue, 20 Sep 2011 20:21:38 +0000 (15:21 -0500)
committerBrian Phillips <bphillips@digitalriver.com>
Tue, 20 Sep 2011 20:25:29 +0000 (15:25 -0500)
commit1bb5ad326c3b8baebd0d69cb8b889eea60b1a24e
tree95a4695d721fe46c7983667676a4e7fed6867af7
parent5bf53db4e281ec27e70ec5645737917bcada23ac
allow $c->req->body to be a simple filehandle or a string

Previously, it was assumed that the $c->req->body was both a filehandle
and a filename (something that was only true for File::Temp objects) and
didn't work if the request body was a plain string.  This distribution
now allows for either a filehandle or a string which is slightly different
semantics than specifically File::Temp objects (which are file handles
which string-ify to the filename)
lib/Catalyst/Action/Deserialize/Data/Serializer.pm
lib/Catalyst/Action/Deserialize/JSON.pm
lib/Catalyst/Action/Deserialize/XML/Simple.pm
lib/Catalyst/Action/Deserialize/YAML.pm