blob: f3f19b36f4aca39d8434e4953d36f51ef7209d41 [file] [log] [blame]
package TestHooks::fixup;
use strict;
use warnings FATAL => 'all';
use Apache::Test;
use APR::Table ();
use Apache2::RequestRec ();
use Apache2::Const -compile => 'OK';
sub handler {
my $r = shift;
$r->notes->set(ok => 1);
Apache2::Const::OK;
}
sub response {
my $r = shift;
plan $r, tests => 1;
ok $r->notes->get('ok');
Apache2::Const::OK;
}
1;
__DATA__
PerlResponseHandler TestHooks::fixup::response
SetHandler modperl