_method parameter
hello everybody, are there any plans to support a _method query parameter? this seems to be emerging as the convention to force put and delete, especially now that html5 forms will only support get and post. it's easily handled with a before filter, but stil thanks, Nicolas
Hi Nicholas! I personally have no such specific plans, but perhaps other developers might. Many features in Dancer are a whim of fellow community members, suggesting (and sometimes implementing) something they wanted. It is the "extra awesome" flavor in Dancer. You're more than welcome to add to it! :) Sawyer. On Wed, May 11, 2011 at 4:10 PM, Nicolas Steenlant < Nicolas.Steenlant@ugent.be> wrote:
hello everybody,
are there any plans to support a _method query parameter? this seems to be emerging as the convention to force put and delete, especially now that html5 forms will only support get and post. it's easily handled with a before filter, but stil
thanks,
Nicolas _______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
On Wednesday 11 May 2011 14:10:07 Nicolas Steenlant wrote:
are there any plans to support a _method query parameter? this seems to be emerging as the convention to force put and delete, especially now that html5 forms will only support get and post.
Plack::Middleware::MethodOverride was one option to support this. It would be nice to see it in core, though, as a configurable option; I may add that soon, if other devs agree it'd be useful. -- David Precious ("bigpresh") http://www.preshweb.co.uk/ "Programming is like sex. One mistake and you have to support it for the rest of your life". (Michael Sinz)
participants (3)
-
David Precious -
Nicolas Steenlant -
sawyer x