[Catalyst] Uniform treatment of all parameters (including file
uploads)
Matt S Trout
dbix-class at trout.me.uk
Tue Jul 3 21:10:41 GMT 2007
On Tue, Jul 03, 2007 at 04:25:30PM +0000, Zbigniew Lukasiak wrote:
> I constantly bump into the mismatch in the treatment of 'normal'
> params and the file uploads.
>
> Wouldn't life be simpler if
>
> $c->request->param( 'file_field' )
>
> would return a Catalyst::Request::Upload object (or an array of them)?
No, because this would break the ability to pass the request object to
something expecting the CGI.pm API, and break compat for existing app code.
Maybe have a think about what you'd like to see from a completely new
unified API and propose that?
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director Want a managed development or deployment platform?
Shadowcat Systems Ltd. Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/ http://www.shadowcatsystems.co.uk/
More information about the Catalyst
mailing list