Created Catalyst::Action::Serialize and Catalyst::Action::Deserialize
Added Data::Serializer actions
Added status_created helper method
+
+Wed Oct 18 17:29:07 PDT 2006 (adam)
+ Added more status_ helpers
+
return 1;
}
+sub status_bad_request {
+ my $self = shift;
+ my $c = shift;
+ my %p = validate(@_,
+ {
+ message => { type => SCALAR },
+ },
+ );
+
+ $c->response->status(400);
+ $c->response->content_type('text/plain');
+ $c->response->body($p{'message'});
+ return 1;
+}
+
sub status_not_found {
my $self = shift;
my $c = shift;