| 1 |
NAME |
| 2 |
Plack::Middleware::Status - Plack Middleware for mapping urls to status |
| 3 |
code-driven responses |
| 4 |
|
| 5 |
VERSION |
| 6 |
version 1.101150 |
| 7 |
|
| 8 |
SYNOPSIS |
| 9 |
# app.psgi |
| 10 |
use Plack::Builder; |
| 11 |
my $app = sub { |
| 12 |
# ... |
| 13 |
}; |
| 14 |
builder { |
| 15 |
enable 'Status', path => qr{/not-implemented}, status => 501; |
| 16 |
$app; |
| 17 |
}; |
| 18 |
|
| 19 |
AUTHOR |
| 20 |
Patrick Donelan <[email protected]> |
| 21 |
|
| 22 |
COPYRIGHT AND LICENSE |
| 23 |
This software is copyright (c) 2010 by Patrick Donelan. |
| 24 |
|
| 25 |
This is free software; you can redistribute it and/or modify it under |
| 26 |
the same terms as the Perl 5 programming language system itself. |
| 27 |
|