X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FEngine.pm;h=0389367c3092713fb1e284965051452d3618ead4;hp=aa8215c324803d14d0ad0f61e2ddd3a2da852771;hb=f3414019f472b55682ef3af53f761b6db7955887;hpb=91772de91ca26edab67f5849eccbfbbe0d2cfd51 diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index aa8215c..0389367 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -1,5 +1,6 @@ package Catalyst::Engine; +use Class::C3; use Moose; with 'MooseX::Emulate::Class::Accessor::Fast'; @@ -16,8 +17,7 @@ use Scalar::Util (); has read_length => (is => 'rw'); has read_position => (is => 'rw'); -# Stringify to class -use overload '""' => sub { return ref shift }, fallback => 1; +no Moose; # Amount of data to read from input on each pass our $CHUNKSIZE = 64 * 1024; @@ -130,9 +130,6 @@ sub finalize_error { # Don't show body parser in the dump delete $c->req->{_body}; - # Don't show response header state in dump - delete $c->res->{_finalized_headers}; - my @infos; my $i = 0; for my $dump ( $c->dump_these ) {