Name : perl-Catalyst-Action-REST
| |
Version : 1.210.0
| Vendor : Mageia_Org
|
Release : 4.mga9
| Date : 2022-03-20 20:35:20
|
Group : Development/Perl
| Source RPM : perl-Catalyst-Action-REST-1.210.0-4.mga9.src.rpm
|
Size : 0.14 MB
| |
Packager : umeabot < umeabot>
| |
Summary : A request trait for REST and browsers
|
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:
|
RPM found in directory: /vol/rzm3/linux-mageia/distrib/9/x86_64/media/core/release |