ADAPT_REQUEST_HEADERS

Description

This event is raised as soon as any HTTP request headers have been returned from the IVS. In the case of ICAP on the IVS, that’s when the encapsulated HTTP headers of any modified or direct response have been received (and can therefore be examined.) This happens only when the IVS result is “modified” or “response” as this event does not trigger if the IVS result is “noop” or an error.

Examples

Remove a header that should now have been encapsulated in the ICAP response.

when ADAPT_REQUEST_HEADERS {
    HTTP::header remove Transfer-Encoding
}