1 package Catalyst::Plugin::Test::Deprecated;
9 # Note: This use of NEXT is deliberately left here (without a use NEXT)
10 # to ensure back compat, as NEXT always used to be loaded, but
11 # is now replaced by Class::C3::Adopt::NEXT.
12 my $c = $class->NEXT::prepare(@_);
13 $c->response->header( 'X-Catalyst-Plugin-Deprecated' => 1 );