|
NAMEPlack::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;
};
DESCRIPTIONPlack::Middleware::Proxy::AddVia adds the "Via" header to the request and response, like mod_proxy's "ProxyVia" option. AUTHORMasahiro Honma <hiratara@cpan.org> SEE ALSOPlack::App::Proxy
|