Tatsuhiko Miyagawa > Plack-0.9932 > Plack::Middleware::Lint

Download:
Plack-0.9932.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source   Latest Release: Plack-1.0030

NAME ^

Plack::Middleware::Lint - Validate request and response

SYNOPSIS ^

  use Plack::Middleware::Lint;

  my $app = sub { ... }; # your app or middleware
  $app = Plack::Middleware::Lint->wrap($app);

  # Or from plackup
  plackup -e 'enable "Lint"' myapp.psgi

DESCRIPTION ^

Plack::Middleware::Lint is a middleware component to validate request and response environment formats. You are strongly suggested to use this middleware when you develop a new framework adapter or a new PSGI web server that implements the PSGI interface.

This middleware is enabled by default when you run plackup or other launcher tools with the default environment development value.

AUTHOR ^

Tatsuhiko Miyagawa

Tokuhiro Matsuno

SEE ALSO ^

Plack

syntax highlighting: