Kossy
view release on metacpan or search on metacpan
lib/Kossy.pm view on Meta::CPAN
cache_dir => $XSLATE_CACHE_DIR,
);
my $json_serializer = __PACKAGE__->_build_json_serializer();
sub {
my $env = shift;
$Kossy::Response::SECURITY_HEADER = $security_header_local;
try {
my $header = bless {
'content-type' => 'text/html; charset=UTF-8',
$security_header_local ? ('x-frame-options' => 'DENY') : (),
}, 'HTTP::Headers::Fast';
my $c = Kossy::Connection->new({
tx => $tx,
req => Kossy::Request->new($env),
res => Kossy::Response->new(200, $header),
stash => {},
json_serializer => $json_serializer,
});
my $method = uc($env->{REQUEST_METHOD});
( run in 0.945 second using v1.01-cache-2.11-cpan-d7f47b0818f )