X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FCatalyst%2FPlugin%2FTest%2FPlugin.pm;h=d3c2e3720afa518f8c8fc45b8959596418f495e4;hb=2ecb3b2ba79cd50746abcdf1620041c5e0851c0f;hp=16f3f63af90e38d40dbd81d5c49c0cac9660dafd;hpb=c5611de97d44e914fc91dafec834e1ca193c071e;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/Catalyst/Plugin/Test/Plugin.pm b/t/lib/Catalyst/Plugin/Test/Plugin.pm index 16f3f63..d3c2e37 100644 --- a/t/lib/Catalyst/Plugin/Test/Plugin.pm +++ b/t/lib/Catalyst/Plugin/Test/Plugin.pm @@ -22,14 +22,5 @@ sub prepare { return $c; } -# Note: Catalyst::Plugin::Server forces the body to -# be parsed, by calling the $c->req->body method in prepare_action. -# We need to test this, as this was broken by 5.80. See also -# t/aggregate/live_engine_request_body.t. -sub prepare_action { - my $c = shift; - $c->res->header('X-Have-Request-Body', 1) if $c->req->body; - $c->next::method(@_); -} 1;