| Plack::Middleware::Status(3pm) | User Contributed Perl Documentation | Plack::Middleware::Status(3pm) |
Plack::Middleware::Status - Plack Middleware for mapping urls to status code-driven responses
version 1.101150
# app.psgi
use Plack::Builder;
my $app = sub {
# ...
};
builder {
enable 'Status', path => qr{/not-implemented}, status => 501;
$app;
};
Patrick Donelan <pat@patspam.com>
This software is copyright (c) 2010 by Patrick Donelan.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| 2022-06-16 | perl v5.34.0 |