X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FAction%2FREST.pm;h=6862f71cdba13e9c9248d70ffa482baf8115facb;hb=10bcd217c37d68aabbb0db8a5a7e233e679cb945;hp=87ba05f35bdf5144fda701cdfdf3e03f7110ceb1;hpb=4ee2437628b1e4fce9569967577eb356ae12ea01;p=catagits%2FCatalyst-Action-REST.git diff --git a/lib/Catalyst/Action/REST.pm b/lib/Catalyst/Action/REST.pm index 87ba05f..6862f71 100644 --- a/lib/Catalyst/Action/REST.pm +++ b/lib/Catalyst/Action/REST.pm @@ -1,10 +1,3 @@ -# -# REST.pm -# Created by: Adam Jacob, Marchex, -# Created on: 10/12/2006 03:00:32 PM PDT -# -# $Id$ - package Catalyst::Action::REST; use strict; @@ -17,7 +10,7 @@ use Catalyst::Controller::REST; BEGIN { require 5.008001; } -our $VERSION = '0.76'; +our $VERSION = '0.79'; $VERSION = eval $VERSION; sub new { @@ -42,7 +35,7 @@ Catalyst::Action::REST - Automated REST Method Dispatching } # alternatively use an Action - sub foo_PUT : Private { + sub foo_PUT : Action { ... do something for PUT requests ... } @@ -185,12 +178,18 @@ one of the accepted return formats. You can do this by setting it in your query accepted return formats. You can do this by setting it in your query string thusly: C<< ?content-type=application%2Fjson (where %2F == / uri escaped). >> -B Apache will refuse %2F unless configured otherise. -Make sure C<< AllowEncodedSlashes On >> is in your httpd.conf file in orde +B Apache will refuse %2F unless configured otherwise. +Make sure C is in your httpd.conf file in order for this to run smoothly. =back +=head1 AUTHOR + +Adam Jacob , with lots of help from mst and jrockway + +Marchex, Inc. paid me while I developed this module. (L) + =head1 CONTRIBUTORS Arthur Axel "fREW" Schmidt @@ -209,11 +208,9 @@ Hans Dieter Pearcey Tomas Doran (t0m) -=head1 AUTHOR +=head1 COPYRIGHT -Adam Jacob , with lots of help from mst and jrockway - -Marchex, Inc. paid me while I developed this module. (L) +Copyright the above named AUTHOR and CONTRIBUTORS =head1 LICENSE