1Plack::Middleware::ContUesnetrMDC5o(n3t)ributed Perl DocPulmaecnkt:a:tMiiodndleware::ContentMD5(3)
2
3
4
6 Plack::Middleware::ContentMD5 - Automatically sets the Content-MD5
7 header on all String bodies
8
10 use Plack::Builder;
11
12 my $app = sub {
13 return [ 200, [ 'Content-Type' => 'text/plain' ], [ 'Hello Foo' ] ];
14 };
15
16 builder {
17 enable "Plack::Middleware::ContentMD5";
18 $app;
19 };
20
22 Automatically sets the Content-MD5 header on all String bodies
23
25 Fayland Lam
26
27
28
29perl v5.34.0 2021-07-22 Plack::Middleware::ContentMD5(3)