Hi,
On Thu, Nov 15, 2018 at 02:01:18PM +, Ricardo Fraile wrote:
> Hello,
>
>
> What is the difference between using one of the following rules instead
> of the other?
>
> I think that rspdel is the historic way to do, but maybe it have other
> implications.
>
>
> rspdel ^Server.*
>
> or
>
> http-response del-header Server
>
>
one of the differences is that rspdel (and other rsp* or req* commands) happen
after the rule processing, whereas http-resonse del-header happens during the
rule processing. while it might not make a big difference when suppressing
headers, it can make a difference if you add headers and want further rules to
act based on the value of said header.
also you can break the request or response with a badly crafted req* or rsp*
command.
--
Jérôme