1 package TestAppOnDemand::Controller::Body;
4 use base 'Catalyst::Base';
11 $c->res->body( Data::Dump::dump( $c->req->body_parameters ) );
15 my ( $self, $c ) = @_;
20 while ( my $data = $c->read( 10_000 ) ) {
24 $c->res->content_type( 'text/plain');
26 $c->res->body( join ( '|', map { length $_ } @chunks ) );