ICAP integration with Reverse Proxy - Workflow
A client request follows the path depicted in the diagram:

- A client sends a request to Reverse Proxy.
- Reverse Proxy passes the request to the ICAP server.
- The ICAP server uses the Internet Content Adaptation Protocol (ICAP) to
generate a response and sends it back to Reverse Proxy. The response can be one of the following:
- A modified version of the request that is forwarded to other ICAP servers in the chain, or to the backend Web server.
- An HTTP response for this request that must then be sent back to the client.
- An error, which is processed by Reverse Proxy.
- The modified request is then sent to the backend Web server.
- A response is generated by the backend Web server.
- Reverse Proxy passes the response to the ICAP server
- A response is generated by the ICAP server and sent back to Reverse Proxy. The response can be
one of the following:
- A modified version of the response.
- An error.
- The response is sent to the client.
Note: Steps 2-3 and 6-7 can be repeated multiple times if multiple ICAP servers are
configured.