[squid-users] Does request_header_replace support calling into another file

Alex Rousskov rousskov at measurement-factory.com
Tue Jul 16 03:50:16 UTC 2019


On 7/15/19 7:46 PM, Lei Wen wrote:
> Does request_header_replace support calling another file

No, AFACIT, request_header_replace's replacement value does not support
dynamic evaluation of any kind (such as logformat %code expansion). One
should be able to use an eCAP service, an ICAP service, and possibly
request_header_add (with an external ACL that loads the value of the
header from a file as a transaction annotation) instead.

Alex.


More information about the squid-users mailing list