Plack:...AddVia(3pm)

πŸ“¦
version 0.29 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

okay bestie, welcome to Plack::Middleware::Proxy::AddVia(3pm) β€” from the User Contributed Perl Documentation manual. The header was trying to be all mysterious with Plack:...AddVia(3pm), but the real name is right there in the NAME section, periodt. πŸ’…

✨ NAME ✨

Plack::Middleware::Proxy::AddVia β€” adds the Via header for the current host. That's the whole vibe. πŸ¦‹

πŸŽ€ SYNOPSIS πŸŽ€

         use Plack::Builder;
         use Plack::App::Proxy;

         builder {
             enable "Proxy::AddVia";
             Plack::App::Proxy->new(host => "http://10.0.1.2:8080/")->to_app;
         };

πŸ’– DESCRIPTION πŸ’–

okay so Plack::Middleware::Proxy::AddVia adds the Via header to the request and the response, like mod_proxy's ProxyVia option. That's it, that's the whole thing, and it ate. πŸ’…βœ¨

πŸ‘‘ AUTHOR πŸ‘‘

Masahiro Honma <hiratara@cpan.org> β€” absolute icon, wrote this. 🫢

🌈 SEE ALSO 🌈

  • Plack::App::Proxy β€” go look at it, bestie, iykyk. πŸ‘€

and that's a wrap! this page is from perl v5.32.0, dated 2021-01-09, and the footer was giving Plack:...AddVia(3pm). mwah πŸ’‹

πŸ“¦ where this page comes from