Scroll to navigation

Plack::Middleware::ContentMD5(3pm) User Contributed Perl Documentation Plack::Middleware::ContentMD5(3pm)

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

2022-09-06 perl v5.34.0