leedo > Plack-App-Proxy-0.27 > Plack::Middleware::Proxy::AddVia

Download:
Plack-App-Proxy-0.27.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.01   Source   Latest Release: Plack-App-Proxy-0.29

NAME ^

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

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 ^

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

AUTHOR ^

Masahiro Honma <hiratara@cpan.org>

SEE ALSO ^

Plack::App::Proxy

syntax highlighting: