Tatsuhiko Miyagawa > Plack-1.0000 > Plack::Middleware::ContentMD5

Download:
Plack-1.0000.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: Plack-1.0031

NAME ^

Plack::Middleware::ContentMD5 - Automatically sets the Content-MD5 header on all String bodies

SYNOPSIS ^

  use Plack::Builder;

  my $app = sub {
      return [ 200, [ 'Content-Type' => 'text/plain' ], [ 'Hello Foo' ] ];
  };

  builder {
      enable "Plack::Middleware::ContentMD5";
      $app;
  };

DESCRIPTION ^

Automatically sets the Content-MD5 header on all String bodies

AUTHOR ^

Fayland Lam

syntax highlighting: