[Catalyst] Re: action_for with user_id removed ...

2010-02-05 Thread Aristotle Pagaltzis
* Kiffin Gish kiffin.g...@planet.nl [2010-02-01 17:20]: I have a number of user-defined actions which are described with the user id like this: settings/user_id/(view|edit) Where user_id is the primary key into the users resultset. However, I do not want this to be visible to the end-user

[Catalyst] Large requests with JSON?

2010-02-05 Thread Bill Moseley
As you might have picked up I'm working on an REST api that uses JSON in the request. I need to also allow large file uploads. HTTP::Body::OctetStream will chunk the request body and send to a temp file, but Catalyst::Action::Deserialize::JSON will load the temp file into memory. Obviously,

Re: [Catalyst] Large requests with JSON?

2010-02-05 Thread Tomas Doran
On 5 Feb 2010, at 20:54, Bill Moseley wrote: AFAIK, there's no way to stream parse JSON (so that only part is in memory at any given time). What would be the recommended serialization for uploaded files -- just use multipart/form-data for the uploads? Don't? Why not just do a PUT