logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Fayland Lam

perl v5.38.2                                       2024-01-20                 Plack::Middleware::ContentMD5(3pm)

Description

       Automatically sets the Content-MD5 header on all String bodies

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;
         };

See Also