Package : perl-Catalyst-Action-REST > RPM : perl-Catalyst-Action-REST-1.120.0-2.mga4.src.rpm
Basic items
Name | perl-Catalyst-Action-REST |
Version | 1.120.0 |
Release | 2.mga4 |
URL | http://search.cpan.org/dist/Catalyst-Action-REST |
Group | Development/Perl |
Summary | A request trait for REST and browsers |
Size | 70KB |
Arch | noarch |
License | GPL+ or Artistic |
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:
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:
Media information
Distribution release | Mageia 4 |
Media name | core-release |
Media arch | x86_64 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2013-10-19 19:33:17 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |