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::FixMissingBodyInRedirect - Plack::Middleware which sets body for redirect response, if

Author

       Upasana <me@upasana.me>

Contributors

       John Napiorkowski <jjn1056@yahoo.com>

       Graham Knop <haarg@haarg.org>

       n0body, Mark Ellis <m@rkellis.com>

       ether, Karen Etheridge <ether@cpan.org>

Description

       This module sets body in redirect response, if it's not already set.

Name

       Plack::Middleware::FixMissingBodyInRedirect - Plack::Middleware which sets body for redirect response, if
       it's not already set

Synopsis

          use strict;
          use warnings;

          use Plack::Builder;

          my $app = sub { ...  };

          builder {
              enable "FixMissingBodyInRedirect";
              $app;
          };

Version

       version 0.12

See Also