NAME
Terse::Plugin::Headers - Terse headers
VERSION
Version 0.01
SYNOPSIS
package MyApp::Plugin::Headers;
use base 'Terse::Plugin::Headers';
1;
package MyApp;
use base 'Terse::App';
sub auth {
my ($self, $context) = @_;
if ($context->req) { # second run through of the auth sub routine
$context->plugin('headers')->set($context, %headers);
}
}
1;