customizing global request handler
carmen
_ at whats-your.name
Wed Apr 18 14:23:30 EDT 2007
> controllers whether the data comes in from regular requests or as JSON data.
> Granted, that could still be done in the controllers, but it does end up
> being a bit less elegant.
the main idea is always get @input in the controller regardless of the format - currently it unnecessarily parses the POST data trying to get querystring values out of the JSON
maybe that method should be split up? it already combines the file upload mangling, and GET and POST querystring parsing..
i will be using formats besides JSON to set @input too... Turtle, for example..
>
> --
> Thomas Lockney | tlockney at gmail.com | http://opposable-thumbs.net
> _______________________________________________
> Camping-list mailing list
> Camping-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
More information about the Camping-list
mailing list