Plack::...Redirect(3)

πŸ’– NAME πŸ’–

Okay bestie, you're reading the Plack::...Redirect(3) page from User Contributed Perl Documentation, and the main character is Plack::Middleware::FixMissingBodyInRedirect β€” a Plack::Middleware which sets body for redirect response, if it's not already set. Slay. πŸ’…


✨ VERSION ✨

This one is serving version 0.12 πŸ‘‘ β€” short, sweet, iconic.


πŸŽ€ SYNOPSIS πŸŽ€

Here's the whole vibe, bestie. Copy-paste it exactly, no cap:

use strict;
use warnings;

use Plack::Builder;

my $app = sub { ...  };

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

πŸ¦‹ DESCRIPTION πŸ¦‹

This module sets body in redirect response, if it's not already set. That's the whole assignment, and it ate. 🫢

No extra body? No problem. This middleware slides in and sets one β€” but only if it's not already set. Periodt. ✨

🌸 CONTRIBUTORS 🌸

These legends helped make it happen, and we're obsessed:

  • John Napiorkowski <jjn1056@yahoo.com> β€” contributing icon πŸ’…
  • Graham Knop <haarg@haarg.org> β€” also absolutely iconic ✨
  • n0body, Mark Ellis <m@rkellis.com> β€” yes bestie, both names are right there 🫢
  • ether, Karen Etheridge <ether@cpan.org> β€” another absolute gem 🌸

πŸ‘‘ AUTHOR πŸ‘‘

Upasana <me@upasana.me> β€” author, moment, main character energy πŸ‘‘πŸ’–


This software is copyright (c) 2014 by Upasana. πŸŽ€

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


Catch you later, bestie! This little page came from perl v5.42.0, dated 2015-04-14, and it's giving vintage-but-still-slaying energy πŸ’–πŸ¦‹πŸŒˆ

πŸ“¦ where this page comes from