Re: Stripping some response headers

From: Holger Just <haproxy#meine-er.de>
Date: Mon, 15 Jun 2009 20:48:28 +0200


On 15.06.2009 19:24 Uhr, Karl Pietri wrote:
> Due to some strange things we are doing with our logging we have a bunch
> of info in the response headers that would be nice to strip out before
> sending to the client. Is this possible in haproxy?
>
> Essentially we are logging things like the user_id if logged in by using
> a custom header X-SS-Userid and capturing that. but obviously it isn't
> necessary for the client to get it so would be nice to strip it out.
>
> -Karl

Hi Karl!

This sounds like a job for the rspdel / rspidel configuration directive. For more information have a look at the configuration ducumentation at

http://haproxy.1wt.eu/download/1.3/doc/configuration.txt

--Holger Received on 2009/06/15 20:48

This archive was generated by hypermail 2.2.0 : 2009/06/15 21:00 CEST