Sophie

Sophie

distrib > Mageia > 2 > i586 > media > core-release-src > by-pkgid > 7d019f725fb3048b79f9e374652c4c46

perl-Catalyst-Action-REST-0.990.0-1.mga2.src.rpm

Description:

This Action handles doing automatic method dispatching for REST requests.
It takes a normal Catalyst action, and changes the dispatch to append an
underscore and method name. First it will try dispatching to an action with
the generated name, and failing that it will try to dispatch to a regular
method.

For example, in the synopsis above, calling GET on "/foo" would result in
the foo_GET method being dispatched.

If a method is requested that is not implemented, this action will return a
status 405 (Method Not Found). It will populate the "Allow" header with the
list of implemented request methods. You can override this behavior by
implementing a custom 405 handler like so:

Generated packages:

Other version of this rpm: