KeepAlive and CustomHeaders

CONNECT can be configured to add Keep-Alive headers to all outgoing requests or on a single request as indicated by assertion block in entity message. 

CONNECT provides two methods for adding Keep-Alive and/or custom headers:

  1. In gateway.properties
  2. Within the assertion block of the entity request


Custom header hierarchy

In the case of KeepAlive or CustomHeaders being specified in both gateway.properties and within the assertion block of the entity request, the assertion block will take precedence and override any value specified in the gateway.properties file.

For more information, see Keep-Alive and Custom HTTP Headers.