ICAP (Internet Content Adaptation Protocol) is a lightweight protocol much like HTTP that makes it possible to offload some processing of HTTP requests and responses ("adaptation") to dedicated ICAP servers. ICAP is generally used by proxy servers to integrate third-party products such as anti-virus software, content scanners, and URL filters. For a detailed description of ICAP, please refer to RFC 3507.
Airlock Gateway acts as an ICAP client. The ICAP module supports request rewriting (REQMOD) as well as response rewriting (RESPMOD). It can pass HTTP requests and response messages to an ICAP server before sending them to the back-end server or the web client, respectively. ICAP services for REQMOD and RESPMOD can be configured independently, thus allowing the use of different ICAP services for HTTP requests and responses.
Airlock Gateway allows the specification of patterns on HTTP requests/responses to use ICAP selectively. Only matching requests and responses are sent to the ICAP server. All other requests and responses are delivered directly and without any impact on latency.
If necessary, Airlock Gateway may adjust HTTP requests after they have been processed by an ICAP service, e.g. the replacement of the HTTP header field "Host:" in case of failover during back-end load balancing.