NAME
Plack::Middleware::NanoResponse - response a canned response
SYNOPSIS
# in your_app.psgi
use Plack::Builder;
my $app = sub {
# ...
};
builder {
enable 'NanoResponse',
path => '/chk',
head => { 'Content-Type' => 'text/html' },
body => 'OK';
$app;
};
DESCRIPTION
Plack::Middleware::NanoResponse is a Plack middleware component that responses a canned response.
Repository
<MODULE NAME> is hosted on github at http://github.com/bayashi/Plack-Middleware-NanoResponse
AUTHOR
Dai Okabayashi <bayashi@cpan.org>
SEE ALSO
Plack::Middleware, Plack::Builder, Plack
LICENSE
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.