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::Proxy::AddVia - Adds the Via header for the current host.

Author

       Masahiro Honma <hiratara@cpan.org>

Description

       Plack::Middleware::Proxy::AddVia adds the "Via" header to the request and response, like mod_proxy's
       "ProxyVia" option.

Name

       Plack::Middleware::Proxy::AddVia - Adds the Via header for the current host.

See Also

       Plack::App::Proxy

perl v5.40.1                                       2025-08-07              Plack::Middleware::Proxy::AddVia(3pm)

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

See Also