X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=790f2c93b6b7c27f210b8eca0078f404b90fd46e;hp=3a52ccf5e79a43a39d375ed0afa7d4f66d600744;hb=26e731318112842b5a605bec2092ccae3369c5e4;hpb=fdba7a9dced6b7a39c18632468ee593208ed006f diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 3a52ccf..790f2c9 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -119,7 +119,7 @@ so C becomes C. use Catalyst 'My::Module'; -Special flags like -Debug and -Engine can also be specifed as arguments when +Special flags like -Debug and -Engine can also be specified as arguments when Catalyst is loaded: use Catalyst qw/-Debug My::Module/; @@ -904,6 +904,17 @@ sub prepare_body { } } +=item $c->prepare_body_chunk( $chunk ) + +Prepare a chunk of data before sending it to HTTP::Body. + +=cut + +sub prepare_body_chunk { + my $c = shift; + $c->engine->prepare_body_chunk( $c, @_ ); +} + =item $c->prepare_body_parameters Prepare body parameters.