./www/p5-Catalyst-Action-REST, Automated REST Method Dispatching

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.21nb2, Package name: p5-Catalyst-Action-REST-1.21nb2, Maintainer: pkgsrc-users

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.

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:

sub foo_not_implemented {
... handle not implemented methods ...
}

If you do not provide an _OPTIONS subroutine, we will automatically
respond with a 200 OK. The "Allow" header will be populated with
the list of implemented request methods.

It is likely that you really want to look at Catalyst::Controller::REST,
which brings this class together with automatic Serialization of
requests and responses.


Required to run:
[textproc/p5-YAML-Syck] [www/p5-libwww] [lang/perl5] [devel/p5-Config-General] [devel/p5-Class-Inspector] [devel/p5-Module-Pluggable] [devel/p5-Params-Validate] [devel/p5-FreezeThaw] [converters/p5-JSON] [devel/p5-MRO-Compat] [www/p5-Catalyst-Runtime] [devel/p5-Moose] [devel/p5-Data-Taxi] [devel/p5-PHP-Serialization] [devel/p5-Data-Serializer] [devel/p5-namespace-autoclean] [www/p5-URI-Find]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

SHA1: dee3ae196245db3c3200f788c4037cb8ce1f94a1
RMD160: 545906d657812fd5cea3b082d61b7aeac32520ff
Filesize: 50.117 KB

Version history: (Expand)


CVS history: (Expand)


   2019-11-04 23:10:16 by Roland Illig | Files touched by this commit (243)
Log message:
www: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

Manually excluded phraseanet since pkglint got the indentation wrong.
   2019-08-11 15:25:21 by Thomas Klausner | Files touched by this commit (3557) | Package updated
Log message:
Bump PKGREVISIONs for perl 5.30.0
   2019-06-30 22:17:50 by Nia Alarie | Files touched by this commit (1816) | Package updated
Log message:
Update packages using a search.cpan.org HOMEPAGE to metacpan.org.

The former now redirects to the latter.

This covers the most simple cases where http://search.cpan.org/dist/name
can be changed to https://metacpan.org/release/name.

Reviewed by hand to hopefully make sure no unwanted changes sneak in.
   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2017-12-06 08:15:04 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Catalyst-Action-REST: update to 1.21.

1.21      2017-12-05 10:05:25-05:00 America/New_York

(Yes, that's the whole Changelog from upstream)
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2015-11-27 14:24:40 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
Updte 1.19 to 1.20
------------------
1.20      2015-10-29 15:28:27-05:00 America/Chicago
 - Documentation fixes.
 - Don't clobber some response headers if they are already set.