X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-REST.git;a=blobdiff_plain;f=README;fp=README;h=f0b7998e98c1c9add299b01d607b83f3d06f38f2;hp=ad0360158eee4678e2e68c2e6c2b179982bafe49;hb=4ac3b2f40b6a6aef2149d21f0350fa0ba212de97;hpb=65679e0c35d390436526e5a843a58911509afb51 diff --git a/README b/README index ad03601..f0b7998 100644 --- a/README +++ b/README @@ -42,8 +42,8 @@ DESCRIPTION which brings this class together with automatic Serialization of requests and responses. - When you use this module, the request class will be changed to - Catalyst::Request::REST. + When you use this module, it adds the Catalyst::TraitFor::Request::REST + role to your request class. METHODS dispatch @@ -54,6 +54,11 @@ SEE ALSO You likely want to look at Catalyst::Controller::REST, which implements a sensible set of defaults for a controller doing REST. + This class automatically adds the Catalyst::TraitFor::Request::REST role + to your request class. If you're writing a webapp which provides RESTful + responses and still needs to accomodate web browsers, you may prefer to + use Catalyst::TraitFor::Request::REST::ForBrowsers instead. + Catalyst::Action::Serialize, Catalyst::Action::Deserialize TROUBLESHOOTING