Removing Headers

Paras Fadte plfgoa at gmail.com
Tue Nov 18 10:33:36 CET 2008


Thanks Stig.

On Tue, Nov 18, 2008 at 2:14 PM, Stig Sandbeck Mathisen <ssm at linpro.no> wrote:
> On Tue, Nov 18, 2008 at 01:54:58PM +0530, Paras Fadte wrote:
>> Hi,
>>
>> Can response headers like "X-Varnish" and "Via" be removed ?
>
> Yes
>
> The subroutine you are looking for is "vcl_deliver", the headers are available
> as resp.http.<header>, they can be removed with the "remove" keyword.
>
> See the vcl(7) man page.
>
> --
> Stig Sandbeck Mathisen <ssm at linpro.no>
> Redpill Linpro AS - Changing the Game
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkkigIQACgkQQONU2fom4u7nYQCdGMcyNtHQTWgexGBnU2blj9rK
> wLEAnR6urJep2kISKK1o7N+rSMAu6C+h
> =1Tp+
> -----END PGP SIGNATURE-----
>
>



More information about the varnish-misc mailing list