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