---
name: "Plack::Middleware::Proxy::AddVia"
section: "3pm"
platform: "linux"
package: "libplack-app-proxy-perl"
version: "0.29-1.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Plack::Middleware::Proxy::AddVia"
---

# Plack::Middleware::Proxy::AddVia(3pm)

Adds the Via header for the current host.

## 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
