Le 23/01/2020 à 19:59, James Brown a écrit :
I spent a couple of minutes and made the attached (pretty bad) patch to add a del-header-by-prefix.


Just an idea. Instead of adding a new action, it could be cleaner to extend the del-header action adding some keywords. Something like:

  http-request del-header begin-with <prefix>
  http-request del-header end-with   <sufix>
  http-request del-header match      <regex>

It could be also extended to replace-header and replace-value actions.

Just my 2 cents,
--
Christopher Faulet

Reply via email to