Added Catalyst::Utils
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine.pm
index 86eb91b..e4f22da 100644 (file)
@@ -420,6 +420,7 @@ sub prepare {
     $c->prepare_request($r);
     $c->prepare_path;
     $c->prepare_headers;
+    $c->prepare_input;
     $c->prepare_cookies;
     $c->prepare_connection;
 
@@ -535,6 +536,14 @@ Prepare parameters.
 
 =cut
 
+sub prepare_input { }
+
+=item $c->prepare_input
+
+Prepare message body.
+
+=cut
+
 sub prepare_parameters { }
 
 =item $c->prepare_path
@@ -669,9 +678,6 @@ sub stash {
     return $self->{stash};
 }
 
-# Takes a coderef and returns an arrayref containing attributes
-sub _get_attrs { attributes::get( $_[0] ) || [] }
-
 =back
 
 =head1 AUTHOR